Skip to content

Commit

Permalink
[NO CHANGELOG] fix: Error with NPM deploy attestations step (#2128)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhesgodi authored Aug 30, 2024
1 parent 55af3be commit f6ac592
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ on:
branches:
- main

permissions:
attestations: write # Required for GitHub Attestation

env:
RELEASE_TYPE: ${{ github.event.inputs.release_type || 'alpha' }}
UPGRADE_TYPE: ${{ github.event.inputs.upgrade_type || 'none' }}
Expand All @@ -50,6 +47,9 @@ jobs:
GH_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_GITHUB_TOKEN }}
NODE_OPTIONS: --max-old-space-size=14366
SDK_PUBLISH_SLACK_WEBHOOK: ${{ secrets.SDK_PUBLISH_SLACK_WEBHOOK }}
permissions:
id-token: write # Required for GitHub Attestation
attestations: write # Required for GitHub Attestation
steps:
- name: Check Public Release Branch
if: contains(env.RELEASE_TYPE , 'release') && (github.ref != 'refs/heads/main')
Expand Down

0 comments on commit f6ac592

Please sign in to comment.