From 55bb0137f9529dc77541126f38f22bda57f487ee Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Fri, 17 Oct 2025 06:46:21 +0000 Subject: [PATCH] [internal] Update GitHub Actions workflow files --- .github/workflows/pull-request.yml | 22 ++++++---------------- Makefile | 1 + 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index acd430d..cc6ec93 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -6,25 +6,18 @@ env: PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget TF_APPEND_USER_AGENT: pulumi +name: Comment on community PRs +on: + pull_request_target: {} + jobs: comment-on-pr: if: github.event.pull_request.head.repo.full_name != github.repository name: comment-on-pr runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - - name: Checkout Repo - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - with: - persist-credentials: false - - env: - ESC_ACTION_ENVIRONMENT: imports/github-secrets - ESC_ACTION_EXPORT_ENVIRONMENT_VARIABLES: "false" - ESC_ACTION_OIDC_AUTH: "true" - ESC_ACTION_OIDC_ORGANIZATION: pulumi - ESC_ACTION_OIDC_REQUESTED_TOKEN_TYPE: urn:pulumi:token-type:access_token:organization - id: esc-secrets - name: Fetch secrets from ESC - uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b - name: Comment PR uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1 with: @@ -33,6 +26,3 @@ jobs: PR is now waiting for a maintainer to run the acceptance tests. **Note for the maintainer:** To run the acceptance tests, please comment */run-acceptance-tests* on the PR -name: pull-request -on: - pull_request_target: {} diff --git a/Makefile b/Makefile index 6f68053..df1c84c 100644 --- a/Makefile +++ b/Makefile @@ -175,6 +175,7 @@ clean: rm -rf sdk/{dotnet,nodejs,go,python} rm -rf bin/* rm -rf .make/* + rm -rf "$(GEN_PULUMI_CONVERT_EXAMPLES_CACHE_DIR)" if dotnet nuget list source | grep "$(WORKING_DIR)/nuget"; then \ dotnet nuget remove source "$(WORKING_DIR)/nuget" \ ; fi