Check Bump Versions #8
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: Check Bump Versions | |
| on: | |
| schedule: | |
| - cron: "0 6 * * 5" # Executes every Friday at 06:00 UTC | |
| workflow_dispatch: # Allows manual overrides via the GitHub Actions dashboard | |
| jobs: | |
| create-pull-request: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22] | |
| steps: | |
| - name: 📂 Checkout Repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: 🟢 Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: 📦 Install Workspace Dependencies | |
| uses: backstage/actions/yarn-install@2cd6978b476cbdc39fec48346f8b6ca13199dd6a # v0.7.8 | |
| with: | |
| cache-prefix: ${{ runner.os }}-node-${{ matrix.node-version }} | |
| - name: 🏎️ Initialize Turborepo Remote GitHub Actions Cache | |
| uses: rharkor/caching-for-turbo@2238fae6eb9a9936f92356f54cb3660200d105e7 # v2.5.1 | |
| - name: 📦 Install Tools and Check Backstage Upstream Upgrades | |
| run: | | |
| yarn backstage-cli versions:bump | |
| env: | |
| YARN_ENABLE_IMMUTABLE_INSTALLS: false # Intentionally false to allow version file rewriting | |
| - name: 🚀 Automatically Orchestrate Branch and Create Pull Request | |
| id: cpr | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| token: ${{ secrets.WORKFLOW_GITHUB_TOKEN }} | |
| commit-message: "chore(deps): update backstage and rag plugin dependencies" | |
| committer: "ai-crew-suite-bot <bot@ai-crew-suite.dev>" | |
| author: "${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>" | |
| signoff: false | |
| branch: "automated/update-dependencies" # Swapped out random timestamps for fixed branch updates | |
| delete-branch: true | |
| title: "🔄 Update Core Dependencies & Upstream Framework" | |
| base: main | |
| body: | | |
| ### 🔄 Automated Backstage Dependency Upgrades | |
| This pull request updates our core framework modules and dependencies to align with the latest Backstage ecosystem release. | |
| - **Engine Hook**: Executed via `yarn backstage-cli versions:bump` | |
| - **Target Framework**: Managed under `@ai-crew-suite` workspaces | |
| *Automated thread dispatched by [create-pull-request](https://github.com/peter-evans/create-pull-request).* | |
| labels: | | |
| dependencies | |
| triage | |
| draft: false |