mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-20 11:47:53 +02:00
Fix try 1: if block in CI for forked PRs (#41)
* Fix try 1: if block in CI for forked PRs * CI fix try 2
This commit is contained in:
parent
d1927fc41f
commit
03e7ca2975
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -65,7 +65,9 @@ jobs:
|
|||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: [verify]
|
needs: [verify]
|
||||||
if: github.event_name == 'push' && github.event.pull_request.head.repo.full_name == github.repository
|
if: |
|
||||||
|
(github.event_name == 'push' && github.event.push.head.repo.full_name == 'Bubka/2fauth') ||
|
||||||
|
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Bubka/2fauth' && github.actor != 'dependabot[bot]')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
4
.github/workflows/dockerhub-readme.yml
vendored
4
.github/workflows/dockerhub-readme.yml
vendored
@ -7,7 +7,9 @@ on:
|
|||||||
- .github/workflows/dockerhub-readme.yml
|
- .github/workflows/dockerhub-readme.yml
|
||||||
jobs:
|
jobs:
|
||||||
dockerHubDescription:
|
dockerHubDescription:
|
||||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
if: |
|
||||||
|
(github.event_name == 'push' && github.event.push.head.repo.full_name == 'Bubka/2fauth') ||
|
||||||
|
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Bubka/2fauth' && github.actor != 'dependabot[bot]')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user