From b1d8312a2141c36180f846e24253d3d52d4cfe3c Mon Sep 17 00:00:00 2001 From: Corentin Cadiou Date: Tue, 8 Oct 2024 09:30:06 +0200 Subject: [PATCH] Automatically update actions every Sunday --- .github/workflows/update_actions.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/update_actions.yml diff --git a/.github/workflows/update_actions.yml b/.github/workflows/update_actions.yml new file mode 100644 index 0000000..0104c8f --- /dev/null +++ b/.github/workflows/update_actions.yml @@ -0,0 +1,23 @@ +name: GitHub Actions Version Updater + +# Controls when the action will run. +on: + schedule: + # Automatically run on every Sunday + - cron: '0 0 * * 0' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + # [Required] Access token with `workflow` scope. + token: ${{ secrets.WORKFLOW_SECRET }} + + - name: Run GitHub Actions Version Updater + uses: saadmk11/github-actions-version-updater@v0.8.1 + with: + # [Required] Access token with `workflow` scope. + token: ${{ secrets.WORKFLOW_SECRET }}