fix(ci): update-submodules.yml now does cleanup

Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
2025-03-11 14:04:27 +02:00
committed by GitHub
parent bf4031c238
commit 9deb613b5b

View File

@@ -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: