Skip to content

[pull] master from web-platform-tests:master #5

[pull] master from web-platform-tests:master

[pull] master from web-platform-tests:master #5

name: Check workflow_run
on:
workflow_call:
inputs:
check-refs:
description: "Refs to check whether they've been updated"
required: true
type: string
outputs:
updated-refs:
description: "Refs which have been updated"
value: ${{ jobs.check-workflow-run.outputs.output }}
jobs:
check-workflow-run:
name: "Check for appropriate epochs"
if: ${{ github.event_name == 'workflow_run' }}
runs-on:
- ubuntu-22.04
permissions:
actions: read
outputs:
output: ${{ steps.check.outputs.test }}
steps:

Check failure on line 25 in .github/workflows/check-workflow-run.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check-workflow-run.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
sparse-checkout: |
tools
- uses: actions/download-artifact@v4
with:
name: git-push-output
path: ${{ runner.temp }}/git-push-output.txt
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- id: check
run: |-
python3 tools/ci/check_for_updated_refs.py >> "$GITHUB_OUTPUT"
env:
GIT_PUSH_OUTPUT: ${{ runner.temp }}/git-push-output.txt
REFS: ${{ inputs.check-refs }}