mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-29 22:24:26 +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
|
id-token: write
|
||||||
|
|
||||||
steps:
|
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
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ steps.merge-commit.outputs.merge-commit-sha || github.sha }}
|
||||||
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@v16
|
uses: DeterminateSystems/nix-installer-action@v16
|
||||||
|
Loading…
x
Reference in New Issue
Block a user