Skip to content

Commit b13c682

Browse files
authored
fix: add updater to itself (#36)
1 parent 6849ada commit b13c682

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Update GitHub Actions
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '0 0 * * 0' # Run every Sunday at midnight
6+
7+
jobs:
8+
update-actions:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
14+
- name: Update GitHub Actions
15+
uses: ./actions
16+
with:
17+
token: ${{ github.token }}
18+
base-branch: 'main'
19+
branch-prefix: 'update-actions'
20+
pr-title: 'Update GitHub Actions'
21+
commit-message: 'Update GitHub Actions'
22+
file-glob: '.github/**/*.yml'
23+
prefixes: 'actions'

0 commit comments

Comments
 (0)