Rsdk 9547 #1731
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Update | |
concurrency: | |
group: pullrequest-${{ github.head_ref }} | |
cancel-in-progress: true | |
on: | |
pull_request_target: | |
types: [opened, synchronize, reopened, labeled, ready_for_review] | |
branches: [ 'main' ] | |
jobs: | |
test: | |
uses: ./.github/workflows/test.yml | |
# This lets people add an "appimage" tag to have appimages built for the PR | |
appimage: | |
needs: [test] | |
if: | | |
always() && !cancelled() && | |
!contains(github.event.pull_request.labels.*.name, 'appimage-ignore-tests') && | |
contains(github.event.pull_request.labels.*.name, 'appimage') && needs.test.result == 'success' | |
uses: ./.github/workflows/appimage.yml | |
with: | |
release_type: 'pr' | |
secrets: | |
GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} | |
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} | |
appimage-ignore-tests: | |
if: | | |
always() && !cancelled() && | |
contains(github.event.pull_request.labels.*.name, 'appimage-ignore-tests') | |
uses: ./.github/workflows/appimage.yml | |
with: | |
release_type: 'pr' | |
secrets: | |
GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} | |
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} |