webnn: Forward-fix missed uses of READ_FROM and WRITE_TO #2
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: 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: | ||
- 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 }} |