Better input artifacts typing #2575
Workflow file for this run
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: Scarf checker | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, ready_for_review] | |
# Run when md files are involved in the PR. | |
paths: ['**.md'] | |
jobs: | |
check-for-scarf: | |
# Only run on non-draft PRs within the same repository. | |
if: github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.draft | |
== false | |
name: check-for-scarf | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/[email protected] | |
- name: Check for scarf | |
run: bash scripts/scarf-checker.sh |