diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index e35abe9de0..4d28d449b0 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -6,7 +6,7 @@ on: - main permissions: - id-token: write # This is required for requesting the JWT (aws-actions/configure-aws-credentials) + id-token: write # Required for OIDC authentication with npm contents: write # to create release commit (google-github-actions/release-please-action) pull-requests: write # to create release PR (google-github-actions/release-please-action) @@ -31,22 +31,6 @@ jobs: persist-credentials: false if: ${{ fromJson(steps.release.outputs.releases_created) }} - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4 - with: - role-to-assume: arn:aws:iam::935785792371:role/GithubNpmPublishAction - role-session-name: language-servers-github - aws-region: us-east-1 - if: ${{ fromJson(steps.release.outputs.releases_created) }} - - - name: Get npm access token - uses: aws-actions/aws-secretsmanager-get-secrets@v2 - with: - secret-ids: | - npmjs/github_automation - parse-json-secrets: true - if: ${{ fromJson(steps.release.outputs.releases_created) }} - - name: Setup Nodejs uses: actions/setup-node@v4 with: @@ -55,10 +39,6 @@ jobs: scope: '@aws' if: ${{ fromJson(steps.release.outputs.releases_created) }} - - name: Set token - run: echo "NODE_AUTH_TOKEN=${{ env.NPMJS_GITHUB_AUTOMATION_TOKEN }}" >> $GITHUB_ENV - if: ${{ fromJson(steps.release.outputs.releases_created) }} - - name: Compile and test packages run: | npm clean-install