Skip to content

Commit 28824a1

Browse files
authored
chore: Moves SSDLC report generation to release action (#3388)
1 parent d7f092d commit 28824a1

File tree

2 files changed

+16
-34
lines changed

2 files changed

+16
-34
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,22 @@ jobs:
183183
env:
184184
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
185185

186+
- name: Generate SSDLC report
187+
uses: ./.github/workflows/run-script-and-commit.yml
188+
with:
189+
script_call: |
190+
TAG="${{ inputs.version_number }}"
191+
VERSION="${TAG#v}"
192+
AUTHOR="${{ github.actor }}"
193+
export AUTHOR VERSION
194+
./scripts/gen-ssdlc-report.sh
195+
file_to_commit: 'compliance/v*/ssdlc-compliance-*.md'
196+
commit_message: "chore: Update SSDLC report for ${{ inputs.version_number }}"
197+
env:
198+
apix_bot_pat: ${{ secrets.APIX_BOT_PAT }}
199+
remote: https://svc-apix-bot:${{ secrets.APIX_BOT_PAT }}@github.com/${{ github.repository }}
200+
gpg_private_key: ${{ secrets.APIX_BOT_GPG_PRIVATE_KEY }}
201+
passphrase: ${{ secrets.APIX_BOT_PASSPHRASE }}
186202
jira-release-version:
187203
needs: [ release-config, release ]
188204
# if release job is skipped, cancelled, or failed we do not run this job

.github/workflows/ssdlc-report.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)