diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index b8d5c7dc..99714331 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -40,7 +40,8 @@ jobs: with: tools: go cache-go: false - - run: make upstream + - run: make prepare_local_workspace + continue-on-error: true - uses: pulumi/license-check-action@main with: module-path: provider diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cffbce80..03dda8cb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -46,9 +46,9 @@ jobs: continue-on-error: true # this fails if there are no go:embed directives run: | git grep -l 'go:embed' -- provider | xargs sed -i 's/go:embed/ goembed/g' - - name: prepare upstream + - name: prepare workspace continue-on-error: true - run: make upstream + run: make prepare_local_workspace - name: golangci-lint uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6 with: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 37f98261..008c460e 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -133,6 +133,9 @@ jobs: - prerequisites - build_provider - build_sdk + permissions: + contents: read + id-token: write secrets: inherit with: version: ${{ needs.prerequisites.outputs.version }} diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index a97fa80a..f3fa886e 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -74,6 +74,9 @@ jobs: - prerequisites - build_provider - build_sdk + permissions: + contents: read + id-token: write secrets: inherit with: version: ${{ needs.prerequisites.outputs.version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30961c47..7eea72aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,6 +80,9 @@ jobs: - prerequisites - build_provider - build_sdk + permissions: + contents: read + id-token: write secrets: inherit with: version: ${{ needs.prerequisites.outputs.version }} diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 9e94fcd3..231ae416 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -123,6 +123,9 @@ jobs: - prerequisites - build_provider - build_sdk + permissions: + contents: read + id-token: write secrets: inherit with: version: ${{ needs.prerequisites.outputs.version }}