mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-18 13:53:42 +00:00
ci: Fix triggers (#882)
Currently on a branch a workflow got triggered 2x one time on push and one time as its a PR Now it only gets triggered on PR and on push onto main Reviewed-on: https://gitea.com/gitea/runner/pulls/882 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: Nicolas <[email protected]> Co-committed-by: Nicolas <[email protected]>
This commit is contained in:
1 parent
68d9fc45c9
commit
c45a4e6d32
1 file changed
+4
-2
@@ -1,7 +1,9 @@
|
||||
name: checks
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
||||
Reference in new issue
Block a user