mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-20 09:55:29 +00:00
fix(ci): update-submodules.yml now does cleanup
Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
12
.github/workflows/update-submodules.yml
vendored
12
.github/workflows/update-submodules.yml
vendored
@@ -5,7 +5,7 @@ name: Update submodules
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
# At 04:00 on Monday and Thursday.
|
# At 04:00 on Monday and Thursday.
|
||||||
- cron: "0 4 * * 1,4"
|
- cron: "0 4 * * 1"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -22,6 +22,16 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Clean up previous checkouts
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
rm -rf ${{ github.workspace }}
|
||||||
|
|
||||||
|
- name: Reset file permissions
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
sudo chown -R $(whoami) ${{ github.workspace }}
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user