mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2026-08-09 07:23:19 +02:00
ci(workflows): run CI only for master pull requests
- Remove manual workflow dispatch from the CI entrypoint.\n- Limit CI pull request events to the master branch.
This commit is contained in:
committed by
Techno Tim
parent
68d03acc68
commit
997ea63a3b
@@ -2,6 +2,8 @@
|
|||||||
name: "CI"
|
name: "CI"
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
@@ -18,7 +20,6 @@ on:
|
|||||||
- '**/LICENSE'
|
- '**/LICENSE'
|
||||||
- '**/reboot.sh'
|
- '**/reboot.sh'
|
||||||
- '**/reset.sh'
|
- '**/reset.sh'
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
Reference in New Issue
Block a user