You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using the backstage-cli makes updating backstage straightforward and easy, it would be nice to have an action that does that automatically in a periodic manner.
I created a workflow that runs every month to check for new versions and creates a PR with the changes:
name: Update Backstageon:
workflow_dispatch: {}schedule:
- cron: '0 0 1 * *'jobs:
update-backstage:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v3
- name: Retrieve node versionid: node-versionrun: echo "node=$(cat .node-version)" >> $GITHUB_OUTPUT
- name: install Node.jsuses: actions/setup-node@v3with:
node-version: ${{ steps.node-version.outputs.node }}cache: 'npm'
- name: install dependenciesrun: npm install --global yarn
- name: yarn installuses: backstage/actions/yarn-install@v0.6.3with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: Update Backstagerun: yarn backstage-cli versions:bump --pattern '@{backstage,roadiehq,k-phoen}/*'
- name: Create Pull Requestuses: peter-evans/create-pull-request@v5with:
token: ${{ secrets.GITHUB_TOKEN }}commit-message: "chore(deps): updates Backstage"title: "chore(deps): updates Backstage"branch: chore/update-backstagebody: Please additionally have a look at [upgrade-helper](https://backstage.github.io/upgrade-helper/) tool from Backstage to compare if there is changes to the upstream project and adapt accordingly.
I am willing to submit a pull request here if the maintainers approve.
Cheers
The text was updated successfully, but these errors were encountered:
using the
backstage-cli
makes updating backstage straightforward and easy, it would be nice to have an action that does that automatically in a periodic manner.I created a workflow that runs every month to check for new versions and creates a PR with the changes:
I am willing to submit a pull request here if the maintainers approve.
Cheers
The text was updated successfully, but these errors were encountered: