From 58928580683326b07082ad8dd3279f2930c5a4e4 Mon Sep 17 00:00:00 2001 From: Serdar Ozmen Date: Fri, 23 Feb 2024 15:47:56 +0300 Subject: [PATCH] Creating GH action version updater. (#152) --- .github/workflows/action-updater.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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 0000000..7dca836 --- /dev/null +++ b/.github/workflows/action-updater.yml @@ -0,0 +1,28 @@ +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