Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
ci: Change actions to run only on changes with respect to master bran…
…ch (#952)

This tries to fix Actions not running on PRs targeting the `0.8` branch,
as seen in this PR #951.

The theory being that workflows from the `master` branch are triggered
as they are triggered on PRs to any branch but they don't actually exist
on the target branch which confuses GitHub and leads to unexpected
behaviour.
  • Loading branch information
RaoulLuque authored Feb 7, 2026
commit ba97705952f2e69227a69ecbb2b5341069c64ebe
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
pull_request:
branches: [ '*' ]
branches: [ master ]
merge_group:
types: [ checks_requested ]
workflow_dispatch: { }
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ on:
push:
branches: [ master ]
pull_request:
branches: [ '*' ]
branches: [ master ]
workflow_dispatch: { }

name: Merge check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check Conventional Commits format

on:
pull_request:
branches: [ '*' ]
branches: [ master ]
# The action does not support running on merge_group events,
# but if the check succeeds in the PR there is no need to check it again.
merge_group:
Expand Down
Loading