Skip to content

Commit

Permalink
Do not run acceptance test on PR coming from forks
Browse files Browse the repository at this point in the history
Because secrets to access the sandbox are not available.
  • Loading branch information
nlewo committed Mar 21, 2022
1 parent 8ebe3fb commit 5700ff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:

test:
name: Acceptance Test
if: github.repository == 'go-gandi/terraform-provider-gandi'
# Secrets (sandbox token) are not available on forks
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
needs: lint
steps:
Expand Down

0 comments on commit 5700ff0

Please sign in to comment.