From f80b0974b69d97ee8af33f1dd55430b3bdf71905 Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Tue, 29 Oct 2024 05:07:37 +0000 Subject: [PATCH] [internal] Update GitHub Actions workflow files --- .github/workflows/prerequisites.yml | 2 +- .github/workflows/run-acceptance-tests.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prerequisites.yml b/.github/workflows/prerequisites.yml index c97d9c4394c..546c648bc6b 100644 --- a/.github/workflows/prerequisites.yml +++ b/.github/workflows/prerequisites.yml @@ -88,7 +88,7 @@ jobs: EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) { echo "SCHEMA_CHANGES<<$EOF"; - schema-tools compare -p aws -o ${{ inputs.default_branch }} -n --local-path=provider/cmd/pulumi-resource-aws/schema.json; + schema-tools compare -r github://api.github.com/pulumi -p aws -o ${{ inputs.default_branch }} -n --local-path=provider/cmd/pulumi-resource-aws/schema.json; echo "$EOF"; } >> "$GITHUB_ENV" - if: inputs.is_pr && inputs.is_automated == false diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 04d08cea678..0512abdf77c 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -41,6 +41,8 @@ jobs: prerequisites: if: github.event_name == 'repository_dispatch' || github.event.pull_request.head.repo.full_name == github.repository + permissions: + pull-requests: write uses: ./.github/workflows/prerequisites.yml secrets: inherit with: @@ -86,6 +88,8 @@ jobs: name: sentinel if: github.event_name == 'repository_dispatch' || github.event.pull_request.head.repo.full_name == github.repository + permissions: + statuses: write needs: - test - build_provider