mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
check PR number
This commit is contained in:
parent
8f491de27b
commit
973e8d0426
1 changed files with 4 additions and 1 deletions
5
.github/workflows/pr_check.yml
vendored
5
.github/workflows/pr_check.yml
vendored
|
@ -17,6 +17,9 @@ jobs:
|
|||
runs-on: macos-11
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: 8BitJonny/gh-get-current-pr@2.2.0
|
||||
id: PR
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
@ -24,7 +27,7 @@ jobs:
|
|||
- name: Connect private iap package
|
||||
uses: webfactory/ssh-agent@v0.8.0
|
||||
id: fetch-iap
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
if: steps.PR.outputs.number == 'null' || github.event.pull_request.head.repo.full_name == github.repository
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue