Skip to content

Commit df1c338

Browse files
committed
test
1 parent eff90c5 commit df1c338

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/testacc.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ jobs:
7474
- run: go mod download
7575
- env:
7676
TF_ACC: "1"
77+
ASTRO_API_TOKEN: ${{ secrets.DEV_ASTRO_API_TOKEN }}
78+
ASTRO_API_HOST: ${{ secrets.DEV_ASTRO_API_HOST }}
79+
ASTRO_ORGANIZATION_ID: ${{ secrets.DEV_ASTRO_ORGANIZATION_ID }}
7780
run: make testacc
7881
timeout-minutes: 10
7982
- name: Set latest commit status as ${{ job.status }}
@@ -86,7 +89,7 @@ jobs:
8689

8790
main-testacc:
8891
# This job runs on push to main branch.
89-
if: github.event_name == 'push'
92+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
9093
name: Main Terraform Provider Acceptance Tests
9194
needs: build
9295
environment: dev

0 commit comments

Comments
 (0)