mirror of https://code.forgejo.org/forgejo/runner
only run CI on the main branch + pull_request
parent
a441c04a13
commit
b5b83fd62b
|
@ -1,7 +1,9 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
on:
|
||||
pull_request_target:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
pull_request_target:
|
||||
|
||||
jobs:
|
||||
example-docker-compose:
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
name: checks
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
FORGEJO_HOST_PORT: 'forgejo:3000'
|
||||
|
|
Loading…
Reference in New Issue