From 95d3062c21959b048813cb8efed736c3ea6fc10d Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 5 Dec 2022 09:00:32 +0100 Subject: [PATCH] Add github action updater Signed-off-by: Kristoffer Dalby --- .github/workflows/gh-actions-updater.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/gh-actions-updater.yaml diff --git a/.github/workflows/gh-actions-updater.yaml b/.github/workflows/gh-actions-updater.yaml new file mode 100644 index 00000000..6b44051a --- /dev/null +++ b/.github/workflows/gh-actions-updater.yaml @@ -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@v2 + with: + # [Required] Access token with `workflow` scope. + token: ${{ secrets.WORKFLOW_SECRET }} + + - name: Run GitHub Actions Version Updater + uses: saadmk11/github-actions-version-updater@v0.7.1 + with: + # [Required] Access token with `workflow` scope. + token: ${{ secrets.WORKFLOW_SECRET }}