-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 1.1 KB
/
Copy pathupdate_github_actions.yaml
File metadata and controls
32 lines (31 loc) · 1.1 KB
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
32
---
name: Update GitHub Actions
on:
schedule:
- cron: "0 4 1 * *" # Runs at 04:00 UTC (00:00 EDT) on the first day of the month
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
update_gitub_actions:
name: Update GitHub actions
runs-on: ubuntu-latest
env:
COMMITTER_USERNAME: Anton Samarchyan
COMMITTER_EMAIL: desecho@gmail.com
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
with:
# Access token with `workflow` scope is required
token: ${{ secrets.WORKFLOW_GITHUB_TOKEN }}
- name: Run GitHub Actions Version Updater
uses: saadmk11/github-actions-version-updater@main
with:
committer_username: ${{ env.COMMITTER_USERNAME }}
committer_email: ${{ env.COMMITTER_EMAIL }}
commit_message: "ci: update GitHub actions"
pull_request_title: Update GitHub actions
# Access token with `workflow` scope is required
token: ${{ secrets.WORKFLOW_GITHUB_TOKEN }}
ignore: '["saadmk11/github-actions-version-updater@main"]'