File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 3434 - name : Check out the repo
3535 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3636
37+ - name : Create Github App Token
38+ uses : actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
39+ id : app-token
40+ with :
41+ app-id : " 1415820"
42+ private-key : ${{ secrets.PM_PUBLISHER_PRIVATE_KEY }}
43+ owner : ${{ github.repository_owner }}
44+
3745 - name : Setup OCM CLI
3846 run : |
3947 REPO=${repo:=open-component-model/ocm}
6573 - type: Credentials
6674 properties:
6775 username: github
68- password: ${{ secrets.GITHUB_TOKEN }}
76+ password: ${{ steps.app-token.outputs.token }}
6977 EOF
7078
7179 - name : Determine image component name
@@ -120,4 +128,4 @@ jobs:
120128 run : |
121129 gh workflow run ocm.yaml --repo "platform-mesh/ocm"
122130 env :
123- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
131+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments