Skip to content

Commit

Permalink
update git hub action
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi authored and FloEdelmann committed Dec 1, 2024
1 parent d28c873 commit 72a1279
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/check-for-resources-update.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: Check for utils resources update
on:
workflow_dispatch: null
schedule:
- cron: 0 0 * * 0 # At 00:00 on Sunday, see https://crontab.guru/#0_0_*_*_0

permissions:
contents: write
pull-requests: write

jobs:
check-for-resources-update:
runs-on: ubuntu-latest
Expand All @@ -17,7 +22,9 @@ jobs:
run: npm install
- name: Update
run: npm run update-resources
- name: Check changes
run: |
git add --all && \
git diff-index --cached HEAD --stat --exit-code
- uses: peter-evans/create-pull-request@v7
with:
commit-message: Updates resources with latest
branch: update-unicode-alias
branch-suffix: timestamp
title: Updates resources with latest

0 comments on commit 72a1279

Please sign in to comment.