This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
GitHub Actions Version Updater #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Actions Version Updater | |
# Controls when the action will run. | |
on: | |
workflow_dispatch: | |
schedule: | |
# Automatically run on every Sunday | |
- cron: '0 0 * * 0' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate token | |
id: generate_token | |
uses: actions/[email protected] | |
with: | |
app-id: ${{ secrets.APP_ID }} | |
private-key: ${{ secrets.APP_PEM }} | |
- uses: actions/[email protected] | |
with: | |
token: ${{ steps.generate_token.outputs.token }} | |
- name: Run GitHub Actions Version Updater | |
uses: saadmk11/[email protected] | |
with: | |
token: ${{ steps.generate_token.outputs.token }} | |
pull_request_branch: "github/actions-update" | |
extra_workflow_locations: ".github/actions/build-base-image" |