Backstage Version Bump #1
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: Backstage Version Bump | |
| on: | |
| schedule: | |
| - cron: '0 6 * * 1' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| bump: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 22 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Bump Backstage packages | |
| run: yarn backstage-cli versions:bump | |
| - name: Open pull request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| token: ${{ secrets.BACKSTAGE_BUMP_TOKEN || github.token }} | |
| branch: chore/backstage-version-bump | |
| delete-branch: true | |
| base: main | |
| title: 'chore: bump Backstage to latest release' | |
| commit-message: 'chore: bump Backstage packages' | |
| labels: dependencies | |
| body: | | |
| Automated `yarn backstage-cli versions:bump` — moves every | |
| `@backstage/*` package to the latest coordinated release and | |
| updates `backstage.json`. | |
| Review the diff and let the `E2E` workflow validate the kind | |
| deployment before merging. |