Skip to content

Commit 72a1279

Browse files
ota-meshiFloEdelmann
authored andcommitted
update git hub action
1 parent d28c873 commit 72a1279

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

Diff for: .github/workflows/check-for-resources-update.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
name: Check for utils resources update
22
on:
3+
workflow_dispatch: null
34
schedule:
45
- cron: 0 0 * * 0 # At 00:00 on Sunday, see https://crontab.guru/#0_0_*_*_0
56

7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
611
jobs:
712
check-for-resources-update:
813
runs-on: ubuntu-latest
@@ -17,7 +22,9 @@ jobs:
1722
run: npm install
1823
- name: Update
1924
run: npm run update-resources
20-
- name: Check changes
21-
run: |
22-
git add --all && \
23-
git diff-index --cached HEAD --stat --exit-code
25+
- uses: peter-evans/create-pull-request@v7
26+
with:
27+
commit-message: Updates resources with latest
28+
branch: update-unicode-alias
29+
branch-suffix: timestamp
30+
title: Updates resources with latest

0 commit comments

Comments
 (0)