Skip to content

Commit 433e38d

Browse files
author
Tit Petric
committed
Add job to auto update gh actions
1 parent e0e2ba1 commit 433e38d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# yamllint disable rule:line-length
2+
---
3+
name: GitHub Actions Version Updater
4+
5+
on: # yamllint disable-line rule:truthy
6+
workflow_dispatch:
7+
schedule:
8+
# Automatically run on every Sunday
9+
- cron: '0 0 * * 0'
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
# [Required] Access token with `workflow` scope.
19+
token: ${{ secrets.ORG_GH_TOKEN }}
20+
21+
- name: Run GitHub Actions Version Updater
22+
uses: saadmk11/[email protected]
23+
with:
24+
# [Required] Access token with `workflow` scope.
25+
token: ${{ secrets.ORG_GH_TOKEN }}

0 commit comments

Comments
 (0)