Skip to content

Commit 2d26840

Browse files
committed
ci: use the CBMyFrontDesk github app for authentication
This token will allow us to push into the repo and to setup and exclusion rule so that we're allowed to push to the the restricted branches.
1 parent e80b89a commit 2d26840

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/publish.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@ jobs:
1919
id-token: write
2020
contents: read
2121
steps:
22-
- name: Checkout code
23-
uses: actions/checkout@v4
24-
2522
- name: Get GH app token
2623
id: gh-app-token
2724
uses: cloudbeds/composite-actions/gh-app-token@v2
25+
with:
26+
app_id: 391670
27+
aws_role_arn: arn:aws:iam::048781935247:role/GH-APP-OIDC-CBMyFrontDesk
28+
aws_ssm_param_name: /github/app/CBMyFrontDesk/private-key
29+
30+
- name: Checkout code
31+
uses: actions/checkout@v4
32+
with:
33+
token: ${{ steps.gh-app-token.outputs.github-token }}
2834

2935
- name: Get API docs
3036
env:

0 commit comments

Comments
 (0)