Skip to content

Commit 72cd1ff

Browse files
committed
ci: add scheduled workflow to auto-update oauth resources
1 parent 3b2d673 commit 72cd1ff

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Update OAuth Resources
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 1 * *"
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
update-oauth-resources:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
ref: personal
18+
19+
- name: Install ripgrep
20+
run: sudo apt-get install -y ripgrep
21+
22+
- name: Run update script
23+
run: bash scripts/update_oauth_resources.sh
24+
25+
- uses: stefanzweifel/git-auto-commit-action@v5
26+
with:
27+
commit_message: "chore: update oauth resources [skip ci]"
28+
file_pattern: src/oauth_resources.rs

0 commit comments

Comments
 (0)