mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-29 14:14:34 +02:00
ci(nix): checkout merge commit of pull request
Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
e03870d3f2
commit
abe18fb144
9
.github/workflows/nix.yml
vendored
9
.github/workflows/nix.yml
vendored
@ -61,8 +61,17 @@ jobs:
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- name: Get merge commit
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
id: merge-commit
|
||||
uses: ./.github/actions/get-merge-commit.yml
|
||||
with:
|
||||
pull-request-id: ${{ github.event.pull_request.id }}
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ steps.merge-commit.outputs.merge-commit-sha || github.sha }}
|
||||
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v16
|
||||
|
Loading…
x
Reference in New Issue
Block a user