-
Notifications
You must be signed in to change notification settings - Fork 283
31 lines (24 loc) · 1012 Bytes
/
sync.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Nightly Sync of content
on:
schedule:
- cron: '0 3 * * *' # run daily at 3am
jobs:
sync:
if: github.repository == 'semver/semver.org'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install
run: npm ci
- name: Collect latest releases
run: npm run collect
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
commit-message: 'feat: Updated SemVer spec'
title: Original specification updates
body: Auto-generated PR with specification updates from [semver/semver](https://github.com/semver/semver) repo. Please close this PR and immediately re-open it to trigger check run. More details in ["Triggering further workflow runs"](https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#triggering-further-workflow-runs).