mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-11 16:58:58 +01:00
CI: only run publish job if on base repo
This commit is contained in:
parent
78ba73f34b
commit
e3da58d55d
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -65,10 +65,13 @@ jobs:
|
|||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: [verify]
|
needs: [verify]
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' && github.event.pull_request.head.repo.full_name == github.repository
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
with:
|
||||||
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
|
|
||||||
- uses: docker/setup-qemu-action@v1
|
- uses: docker/setup-qemu-action@v1
|
||||||
- uses: docker/setup-buildx-action@v1
|
- uses: docker/setup-buildx-action@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user