mirror of
https://github.com/linuxserver/github-workflows.git
synced 2026-03-02 00:02:48 +08:00
checkout PR ref
This commit is contained in:
parent
55c97fae39
commit
a2af433853
10
.github/workflows/docker-mod-builder.yml
vendored
10
.github/workflows/docker-mod-builder.yml
vendored
@ -32,7 +32,15 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Check Out Repo (Commit)
|
||||
uses: actions/checkout@v3
|
||||
if: ${{ github.event_name != 'pull_request_target' }}
|
||||
|
||||
- name: Check Out Repo (PR)
|
||||
uses: actions/checkout@v3
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Dump payload
|
||||
env:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user