Chore/ga test (#2269)

This commit is contained in:
Robbie Davis 2023-09-04 20:52:09 -04:00 committed by GitHub
parent 27c33a3036
commit cdc5ce426b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ jobs:
permissions: permissions:
packages: write packages: write
contents: read contents: read
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' && !contains('release/', github.event.pull_request.head.ref) }} if: ${{ github.event_name == 'push' && !startsWith(github.head_ref, 'releases/') && github.event.pull_request.base.ref == 'develop' }}
steps: steps:
- name: Find Current Pull Request - name: Find Current Pull Request
uses: jwalton/gh-find-current-pr@v1 uses: jwalton/gh-find-current-pr@v1
@ -236,9 +236,8 @@ jobs:
permissions: permissions:
packages: write packages: write
contents: read contents: read
if: github.event_name == 'pull_request' && contains('release/', github.event.pull_request.head.ref) && github.event.pull_request.base.ref == 'develop' if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'releases/') && github.event.pull_request.base.ref == 'develop'
steps: steps:
- name: Find Current Pull Request - name: Find Current Pull Request
uses: jwalton/gh-find-current-pr@v1 uses: jwalton/gh-find-current-pr@v1
id: findPr id: findPr