Skip to content

Commit 4a83eb5

Browse files
committed
Merge branch 'w/9.3/feature/CLDSRV-859-trigger-scality-kms' into tmp/octopus/w/9.4/feature/CLDSRV-859-trigger-scality-kms
2 parents 8091c9a + cfcabf3 commit 4a83eb5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/release.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,25 @@ jobs:
8888
tag_name: ${{ github.event.inputs.tag }}
8989
generate_release_notes: true
9090
target_commitish: ${{ github.sha }}
91+
92+
trigger-kms-release:
93+
runs-on: ubuntu-latest
94+
needs: release
95+
if: github.repository_owner == 'scality'
96+
steps:
97+
- name: Generate GitHub App Token
98+
uses: actions/create-github-app-token@v1
99+
id: app-token
100+
with:
101+
app-id: ${{ vars.ACTIONS_APP_ID }}
102+
private-key: ${{ secrets.ACTIONS_APP_PRIVATE_KEY }}
103+
owner: ${{ github.repository_owner }}
104+
105+
- name: Trigger scality-kms release workflow
106+
env:
107+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
108+
run: |
109+
gh workflow run release.yaml \
110+
--repo scality/scality-kms \
111+
--ref main \
112+
--field tag=${{ github.event.inputs.tag }}

0 commit comments

Comments
 (0)