Skip to content

Commit

Permalink
chore: update release workflow with PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
annawen1 authored Jan 22, 2025
1 parent d387ef9 commit 63c8570
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ concurrency:

jobs:
release:
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
if: |
github.repository == 'carbon-design-system/carbon-labs'
timeout-minutes: 60
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -40,4 +39,6 @@ jobs:
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Publish minor release of packages
run: |
yarn lerna publish minor --dist-tag latest --yes
yarn lerna publish minor --dist-tag latest --yes --message 'chore: release'
env:
GITHUB_TOKEN: ${{ secrets.MERGE_ACTION }}

0 comments on commit 63c8570

Please sign in to comment.