forked from erlang/otp
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (26 loc) · 1.08 KB
/
actions-updater.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # ratchet:actions/[email protected]
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PEM }}
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/[email protected]
with:
token: ${{ steps.generate_token.outputs.token }}
- name: Run GitHub Actions Version Updater
uses: saadmk11/github-actions-version-updater@64be81ba69383f81f2be476703ea6570c4c8686e # ratchet:saadmk11/[email protected]
with:
token: ${{ steps.generate_token.outputs.token }}
pull_request_branch: "github/actions-update"
extra_workflow_locations: ".github/actions/build-base-image"