temporarily disable PR CI trigger

* I don't want my commits to spam the upstream repo with lots of failed action jobs for my incomplete PR
* prevent accidentally creating a release (shouldn't happen with the modified workflow in the head branch (github uses base branch workflows) but you never know)
pull/1118/head
Willy 2021-10-02 17:26:26 +02:00
parent a8147eb790
commit b5a9f17d6d
No known key found for this signature in database
GPG Key ID: 02E60AE5D9208602
1 changed files with 10 additions and 9 deletions

View File

@ -3,9 +3,10 @@ on:
push: push:
paths-ignore: paths-ignore:
- "**.md" - "**.md"
pull_request: # TODO turn PR trigger back on
paths-ignore: # pull_request:
- "**.md" # paths-ignore:
# - "**.md"
env: env:
is_stable: | is_stable: |
@ -85,19 +86,19 @@ jobs:
rm -rf source.tar.gz rm -rf source.tar.gz
build: build:
needs: [frontend, test-postman-sqlite, test-postman-mysql, test-postman-postgres] needs: [ frontend, test-postman-sqlite, test-postman-mysql, test-postman-postgres ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
platform: [linux] platform: [ linux ]
arch: [386, amd64, arm-7, arm-6, arm64] arch: [ 386, amd64, arm-7, arm-6, arm64 ]
include: include:
- platform: darwin - platform: darwin
arch: 386 arch: 386
- platform: darwin - platform: darwin
arch: amd64 arch: amd64
- platform: windows - platform: windows
arch: [amd64, 386] arch: [ amd64, 386 ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -492,7 +493,7 @@ jobs:
timeoutRequest: 30000 timeoutRequest: 30000
delayRequest: 600 delayRequest: 600
# TODO everything from here on is stable/unstable release only # TODO everything from here on is stable/unstable release only
# all other release jobs should be based on this # all other release jobs should be based on this
release-precondition-check: release-precondition-check:
@ -500,7 +501,7 @@ jobs:
github.event_name == 'push' github.event_name == 'push'
&& (github.ref == 'refs/heads/stable' && (github.ref == 'refs/heads/stable'
|| github.ref == 'refs/heads/unstable') || github.ref == 'refs/heads/unstable')
needs: [build, test-postman-sqlite, test-postman-mysql, test-postman-postgres] needs: [ build, test-postman-sqlite, test-postman-mysql, test-postman-postgres ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: dummy operation - name: dummy operation