Skip to content

Nightly Sync of content #1242

Nightly Sync of content

Nightly Sync of content #1242

Workflow file for this run

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@v3
- uses: actions/setup-node@v3
with:
node-version: 16
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).