Skip to content

Commit

Permalink
Try?
Browse files Browse the repository at this point in the history
  • Loading branch information
Kas-tle authored Apr 23, 2024
1 parent 3bd5ab7 commit 839e5a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
# Forbid access to secrets nor GH Token perms while building the PR
permissions: {}
secrets: {}
uses: ./.github/workflows/build-remote.yml
uses: ${{ github.repository }}/.github/workflows/build-remote.yml@${{ github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.head.ref || github.ref_name }}
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -18,7 +18,7 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'PR: Needs Testing')
# Allow access to secrets if we are uploading a preview
secrets: inherit
uses: ./.github/workflows/preview.yml
uses: ${{ github.repository }}/.github/workflows/preview.yml@${{ github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.head.ref || github.ref_name }}
with:
build: ${{ github.run_number }}
version: pr.${{ github.event.pull_request.number }}

0 comments on commit 839e5a8

Please sign in to comment.