Skip to content

[MUON-663] BPKGraphicPromo Changes #628

[MUON-663] BPKGraphicPromo Changes

[MUON-663] BPKGraphicPromo Changes #628

Workflow file for this run

name: Retake Snapshots
on:
pull_request:
branches: [main]
jobs:
CheckCommitMessage:
name: Check commit message
runs-on: ubuntu-22.04
outputs:
head-commit-message: ${{ steps.get_head_commit_message.outputs.headCommitMsg }}
steps:
- name: Get repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Print head git commit message
id: get_head_commit_message
run: echo "headCommitMsg=$(git show -s --format=%s)" >> $GITHUB_OUTPUT
TakeSnapshot:
name: Take snapshot
needs: CheckCommitMessage
permissions:
statuses: write
pull-requests: write
contents: write
if: ${{ needs.CheckCommitMessage.outputs.head-commit-message == 'Record snapshots' }}
uses: ./.github/workflows/_test.yml
with:
retake_snapshots: true