Skip to content

Poutine Level 1

Poutine Level 1 #133

Workflow file for this run

name: Poutine Level 1
on:
workflow_run:
workflows: ["Poutine Level 0"]
# workflows: ["**"]
# workflows: ["Poutine Level *"]
# workflows: ["Poutine Level [0-9]+"]
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: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 21
- uses: actions/checkout@v4
with:
repository: ${{ github.event.workflow_run.head_repository.full_name }}
ref: ${{ github.event.workflow_run.head_sha }}
- run: |
npm install
npm run lint
- name: Log test executions
run: |
echo "Lint ran for 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."