This repository was archived by the owner on Jan 7, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Backstage Catalog Info Helper
2+ on :
3+ workflow_dispatch :
4+
5+ jobs :
6+ update-catalog-info :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Checkout Actions
10+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
11+ with :
12+ fetch-depth : 0
13+ persist-credentials : false
14+ - name : Run Backstage Catalog Info Helper
15+ uses : cds-snc/backstage-catalog-info-helper-action@cc75afc29a0ade6c41400132ff9e1222f8916ba6 # v0.3.1
16+ with :
17+ github_app_id : ${{ secrets.SRE_BOT_RW_APP_ID }}
18+ github_app_private_key : ${{ secrets.SRE_BOT_RW_PRIVATE_KEY }}
19+ github_organization : cds-snc
20+ - name : impersonate Read/Write GH App
21+ uses : tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
22+ id : generate_token
23+ with :
24+ app_id : ${{ secrets.SRE_BOT_RW_APP_ID }}
25+ private_key : ${{ secrets.SRE_BOT_RW_PRIVATE_KEY }}
26+ - name : Create pull request
27+ uses : peter-evans/create-pull-request@6cd32fd93684475c31847837f87bb135d40a2b79 # v7.0.3
28+ with :
29+ token : ${{ steps.generate_token.outputs.token}}
30+ sign-commits : true
31+ commit-message : ' Add catalog-info.yaml'
32+ branch : ' backstage/catalog-info'
33+ title : ' Add catalog-info.yaml'
34+ body : ' Adding a basic catalog-info.yaml to start populating the backstage catalog with your components.'
35+ labels : ' backstage'
36+ add-paths : |
37+ catalog-info.yaml
You can’t perform that action at this time.
0 commit comments