GitHub Actions Version Updater #15
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" |