diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f60ae65..8e71405 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,11 @@ permissions: jobs: test: - uses: ./.github/workflows/test.yaml + uses: ./.github/workflows/test.yml secrets: inherit goreleaser: + needs: test runs-on: ubuntu-latest steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yml similarity index 95% rename from .github/workflows/test.yaml rename to .github/workflows/test.yml index 70ba654..6bc7585 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yml @@ -3,8 +3,9 @@ name: Terraform Provider Tests on: pull_request: paths: - - '.github/workflows/test.yaml' + - '.github/workflows/test.yml' - '**.go' + workflow_call: permissions: # Permission for checking out code