Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .github/workflows/semantic_diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ name: Semantic Diff
# executes only the default branch's code, and the fork's commits are
# fetched as git data and never checked out.
#
# Maintenance branches have no renderer, so a pull request from a fork into
# one of them doesn't run this workflow. One from a branch of this
# repository doesn't either, since the merge has no workflow.
#
# Pages are never deleted, so the links in the comments stay valid after a
# pull request is merged or closed.

Expand All @@ -26,6 +30,7 @@ on:
types: [opened, synchronize, reopened]
pull_request_target:
types: [opened, synchronize, reopened]
branches-ignore: ["maintenance/**"]

concurrency:
group: semantic-diff-${{ github.event_name }}-${{ github.event.pull_request.number }}
Expand Down
1 change: 1 addition & 0 deletions changes/semantic-diff-maintenance-branches.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Skip the Semantic Diff workflow for fork pull requests into maintenance branches, which have no renderer.
Loading