We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3626410 commit 40f258cCopy full SHA for 40f258c
.github/workflows/release-to-prod.yml
@@ -161,3 +161,24 @@ jobs:
161
run: |
162
source scripts/lib-jira.sh
163
set_release_to_released ${RELEASE_ID}
164
+
165
+ attest-approval:
166
+ name: Attest approval
167
+ needs: [set-to-released]
168
+ runs-on: ubuntu-latest
169
+ env:
170
+ RELEASE_ID: ${{ needs.check-approved-release.outputs.release_id }}
171
+ steps:
172
+ - uses: actions/checkout@v4
173
+ with:
174
+ fetch-depth: 0
175
176
+ - name: Report approval to Kosli
177
+ run: |
178
+ source scripts/lib-jira.sh
179
180
+ get_release ${{ env.RELEASE_ID }} >> /tmp/jira-release.json
181
+ kosli attest generic \
182
+ --name release-approval \
183
+ --trail ${{ env.RELEASE_ID }} \
184
+ --user-data /tmp/jira-release.json
0 commit comments