Skip to content

Commit f7af6a9

Browse files
authored
Add workflow to automatically create updated xregistry PRs (SchemaStore#4728)
1 parent 84f4e31 commit f7af6a9

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/auto-update.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: 'Make Commit'
2+
3+
on:
4+
schedule:
5+
# Every day at 23:30 UTC.
6+
- cron: '30 23 * * *'
7+
push:
8+
branches: ['master']
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: 'read'
13+
pages: 'write'
14+
id-token: 'write'
15+
16+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
17+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
18+
concurrency:
19+
group: 'pages'
20+
cancel-in-progress: false
21+
22+
jobs:
23+
build:
24+
runs-on: 'ubuntu-latest'
25+
permissions:
26+
contents: 'write'
27+
pull-requests: 'write'
28+
steps:
29+
- uses: 'actions/checkout@v4'
30+
- run: 'node ./cli.js build-xregistry'
31+
- uses: peter-evans/create-pull-request@v7

0 commit comments

Comments
 (0)