chore: manual version bump #14
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: Version Bump | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| version-bump: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: 'version-bump' | |
| cancel-in-progress: true | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # fetch-depth 2 so git diff-tree can compare HEAD against its parent. | |
| # PAT token so the bot push can bypass branch protection rules. | |
| fetch-depth: 2 | |
| token: ${{ github.token }} | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: npm | |
| - run: npm ci | |
| - name: Setup Git | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| - name: Bump versions | |
| run: node ./scripts/version-bump.mjs ci | |
| - name: Create or update version bump PR | |
| run: | | |
| ./scripts/create-or-update-version-pr.sh \ | |
| "chore/version-bump" \ | |
| "chore(release): bump plugin versions" | |
| env: | |
| GH_TOKEN: ${{ github.token }} |