mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +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:
|
||||
schedule:
|
||||
# At 04:00 on Monday and Thursday.
|
||||
- cron: "0 4 * * 1,4"
|
||||
- cron: "0 4 * * 1"
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
@@ -22,6 +22,16 @@ jobs:
|
||||
|
||||
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
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user