ci: pin pull_request trigger to main branch
Gitea Actions requires branches filter on pull_request triggers to match the target branch, otherwise PRs never fire the workflow.
This commit is contained in:
@@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-${{ github.ref }}
|
group: ci-${{ github.ref }}
|
||||||
|
|||||||
Reference in New Issue
Block a user