Update CHANGELOG #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update CHANGELOG | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # Runs every Tuesday at 9 PM Pacific Time (5 AM UTC Wednesday) | |
| - cron: '0 5 * * 3' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update-changelog: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-tags: true | |
| - name: Install NodeJS | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Update version.json | |
| run: npx gulp updateChangelog | |
| - name: Create version update PR | |
| uses: peter-evans/create-pull-request@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: Update ${{ github.ref_name }} CHANGELOG | |
| title: '[automated] Update ${{ github.ref_name }} CHANGELOG' | |
| branch: merge/update-${{ github.ref_name }}-changelog |