Only use build and deploy workflows for 4.1 for now

This commit is contained in:
Norman Maurer 2020-12-22 19:30:57 +01:00
parent 2b1785458b
commit cd33d56f45
3 changed files with 8 additions and 8 deletions

View File

@ -2,9 +2,9 @@ name: Build project
on:
push:
branches: [ "4.1", master ]
branches: [ "4.1"]
pull_request:
branches: [ "4.1", master ]
branches: [ "4.1"]
schedule:
- cron: '30 1 * * 1' # At 01:30 on Monday, every Monday.
@ -58,7 +58,7 @@ jobs:
run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.18.yaml build
- name: Build project without leak detection
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/4.1') }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/4.1' }}
run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.18.yaml run build
- name: Build project with leak detection
@ -107,7 +107,7 @@ jobs:
run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml build
- name: Build project without leak detection
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/4.1') }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/4.1' }}
run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml run build
- name: Build project with leak detection
@ -156,7 +156,7 @@ jobs:
run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.115.yaml build
- name: Build project without leak detection
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/4.1') }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/4.1' }}
run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.115.yaml run build
- name: Build project with leak detection

View File

@ -2,7 +2,7 @@ name: Deploy project
on:
push:
branches: [ "4.1", master ]
branches: [ "4.1" ]
schedule:
- cron: '30 1 * * 1' # At 01:30 on Monday, every Monday.

View File

@ -7,10 +7,10 @@ name: "CodeQL"
on:
push:
branches: [4.1, master]
branches: ["4.1", master]
pull_request:
# The branches below must be a subset of the branches above
branches: [4.1, master]
branches: ["4.1", master]
schedule:
- cron: '0 13 * * 3'