Skip to content

Commit 590f656

Browse files
authored
Add approval for release version (#6009)
* Build release images from Github action * Modify release action to build based on input * Add approval workflow * Add Riku
1 parent 6ef672d commit 590f656

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/publish-release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ jobs:
2323
base:
2424
runs-on: ubuntu-latest
2525
steps:
26+
- uses: trstringer/manual-approval@v1
27+
with:
28+
secret: ${{ github.TOKEN }}
29+
approvers: euanmillar,rikukissa
30+
minimum-approvals: 1
31+
issue-title: 'Release: ${{ github.event.inputs.release_version }}'
32+
issue-body: 'Please approve or deny the publishing of release: ${{ github.event.inputs.release_version }} to Dockerhub'
33+
exclude-workflow-initiator-as-approver: false
2634
- uses: actions/checkout@v2
2735
if: github.event_name == 'workflow_dispatch'
2836
with:

0 commit comments

Comments
 (0)