Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: Docs checks

# No `branches` filter. A stacked pull request targets the branch of the pull
# request below it, not main, so a `branches: [main]` filter would skip every
# stacked change and only run on the last one in a stack.
# No `branches` filter on pull requests. A stacked pull request targets the
# branch of the pull request below it, not main, so a `branches: [main]` filter
# would skip every stacked change and only run on the last one in a stack.
#
# Also on pushes to main: the translation sync commits straight to main, so a
# translated identifier that lands there would otherwise show up only on the
# next unrelated pull request. Running here makes main red when main is red.
on:
pull_request:
push:
branches: [main]

# Read-only. This workflow runs code from the pull request branch, so it is
# `pull_request` rather than `pull_request_target` and it is given no write
Expand All @@ -21,7 +27,7 @@ jobs:
name: Locale literals and extraction-hostile markdown
runs-on: ubuntu-latest
steps:
- name: Check out the pull request branch
- name: Check out the branch
uses: actions/checkout@v4

- name: Set up Node 22
Expand Down
Loading