From 30bfbf8367aaa2d7bcfaf51551a6d081996ed121 Mon Sep 17 00:00:00 2001 From: serdaro Date: Fri, 23 Feb 2024 13:17:05 +0100 Subject: [PATCH] Creating GH action version updater --- .github/workflows/action-updater.yml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/action-updater.yml diff --git a/.github/workflows/action-updater.yml b/.github/workflows/action-updater.yml new file mode 100644 index 00000000..f18deeea --- /dev/null +++ b/.github/workflows/action-updater.yml @@ -0,0 +1,29 @@ + +name: GitHub Actions Version Updater + +# Controls when the action will run. +on: + # can be used to run workflow manually + workflow_dispatch: + 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.ACTION_UPDATER }} + + - name: Run GitHub Actions Version Updater + uses: saadmk11/github-actions-version-updater@v0.8.1 + with: + # [Required] Access token with `workflow` scope. + token: ${{ secrets.ACTION_UPDATER }} + committer_username: 'serdaro' + commit_message: 'Review updated action versions' + pull_request_title: 'Updated action versions' \ No newline at end of file