only run CI on the main branch + pull_request
This commit is contained in:
parent
a441c04a13
commit
b5b83fd62b
2 changed files with 8 additions and 4 deletions
|
@ -1,7 +1,9 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
pull_request_target:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
example-docker-compose:
|
example-docker-compose:
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
name: checks
|
name: checks
|
||||||
on:
|
on:
|
||||||
- pull_request
|
push:
|
||||||
- push
|
branches:
|
||||||
|
- 'main'
|
||||||
|
pull_request:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FORGEJO_HOST_PORT: 'forgejo:3000'
|
FORGEJO_HOST_PORT: 'forgejo:3000'
|
||||||
|
|
Loading…
Reference in a new issue