Poutine Level 1 #169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Poutine Level 1 | |
on: | |
workflow_run: | |
workflows: ["Poutine Level 0"] | |
types: | |
- completed | |
permissions: {} | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: false | |
jobs: | |
toppings-for-realz: | |
runs-on: ubuntu-latest | |
timeout-minutes: 1 | |
if: github.event_name == 'workflow_run' && github.event.workflow_run.event == 'pull_request' | |
permissions: | |
id-token: write | |
contents: write | |
pull-requests: write | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
FLAG_GRAVY_OVERFLOW_L1_TOPPINGS_FOR_REALZ: ${{ secrets.FLAG_GRAVY_OVERFLOW_L1_TOPPINGS_FOR_REALZ }} | |
steps: | |
- uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 | |
with: | |
egress-policy: audit | |
- name: Log execution | |
run: | | |
echo "Topping ran on commit ${{ github.event.workflow_run.head_sha }} with message ${{ github.event.workflow_run.head_commit.message }} from ${{ github.event.workflow_run.head_repository.full_name }} on Branch ${{ github.event.workflow_run.head_branch }} in a PR from ${{ github.actor }}. Please check the logs for more information." |