Skip to content

[WIP] CI: handle required workflows when skipped #3

[WIP] CI: handle required workflows when skipped

[WIP] CI: handle required workflows when skipped #3

Workflow file for this run

name: Skip checks

Check failure on line 1 in .github/workflows/skip_checks.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/skip_checks.yml

Invalid workflow file

`outputs` is not a valid event name
on:
workflow_call:
outputs:
skip: ${{ jobs.skip_checks.outputs.skip }}
jobs:
skip_checks:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run PR analysis
run: |
.github/workflows/scripts/check_diff.sh \
${{ github.event.pull_request.head.ref }} \
${{ github.event.pull_request.base.ref }} \
${{ github.event.pull_request.head.repo.clone_url }}
outputs:
skip: ${{ env.SKIP_CHECKS }}