Skip to content

[pull] main from backstage:main #766

[pull] main from backstage:main

[pull] main from backstage:main #766

name: Automate Renovate changeset
on:
pull_request_target:
paths:
- '.github/workflows/automate_renovate_changesets.yml'
- '**/yarn.lock'
jobs:
generate-changeset:
runs-on: ubuntu-latest
if: github.actor == 'backstage-goalie[bot]' && github.repository == 'backstage/community-plugins'
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
fetch-depth: 2
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
- name: Set up Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: Configure Git
run: |
git config --global user.email [email protected]
git config --global user.name 'Github changeset workflow'
- name: Generate changesets
run: node ./scripts/ci/generate-bump-changesets.js