mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-20 03:38:06 +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:
|
||||
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
|
||||
steps:
|
||||
- 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
|
||||
jobs:
|
||||
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
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
Loading…
x
Reference in New Issue
Block a user