Skip to content

Nightly Sync of content #1159

Nightly Sync of content

Nightly Sync of content #1159

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/create-pull-request@v4.0.4
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).