Release/fake 1 (#2265)

This commit is contained in:
Joe Milazzo 2023-09-04 07:01:37 -07:00 committed by GitHub
parent e869c257bf
commit bf493df364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View File

@ -8,13 +8,6 @@ on:
types: [synchronize]
jobs:
test:
name: Test trigger
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/') && github.event.pull_request.base.ref == 'develop'
steps:
- name: Echo
run: echo 'Triggered'
build:
name: Build .Net
runs-on: windows-latest
@ -81,7 +74,6 @@ jobs:
- name: Test
run: dotnet test --no-restore --verbosity normal
version:
name: Bump version on Develop/Canary push
needs: [ build ]
@ -244,7 +236,7 @@ jobs:
permissions:
packages: write
contents: read
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main') }}
if: github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'release/') && github.event.pull_request.base.ref == 'develop'
steps:
- name: Find Current Pull Request

View File

@ -8,6 +8,13 @@ on:
types: [synchronize]
jobs:
test:
name: Test trigger
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'release/') && github.event.pull_request.base.ref == 'develop'
steps:
- name: Echo
run: echo 'Triggered'
check_pr:
runs-on: ubuntu-latest
steps: