Skip to content

Commit

Permalink
issue-60: Do not start run-it-s3 job for forks (due to secrets issues…
Browse files Browse the repository at this point in the history
… this should be run manually for forks)
  • Loading branch information
steve-todorov committed Jan 31, 2021
1 parent 035fc7a commit 05c2ef0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
PR_HEAD_LABEL: ${{ toJSON(github.event.pull_request.head.label) }}
# format: boolean
# check https://github.com/carlspring/s3fs-nio/pull/77#issuecomment-686804207
IS_EXTERNAL_PR: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }}
IS_EXTERNAL_PR: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -124,6 +124,8 @@ jobs:
run: docker save minio/minio testcontainers/ryuk > ${{ github.workspace }}/docker-image-cache.tar

run-it-s3:
# Do not run for forks since secrets will be missing and this will fail.
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
needs: [run-it-minio]
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 05c2ef0

Please sign in to comment.