Skip to content

Commit

Permalink
Merge branch 'main' into feat/component-breakdown
Browse files Browse the repository at this point in the history
  • Loading branch information
annawen1 authored Nov 2, 2023
2 parents 8523165 + c5aac2f commit 87a097c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/alpha-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
if: |
github.repository == 'carbon-design-system/carbon-for-ai'
timeout-minutes: 60
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ jobs:
with:
type: now
target_branch: 'main'
env:
GITHUB_TOKEN: ${{secrets.MERGE_ACTION}}
github_token: ${{secrets.GITHUB_TOKEN}}
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
if: |
github.repository == 'carbon-design-system/carbon-for-ai' &&
startsWith(github.ref_name, 'release/')
Expand Down Expand Up @@ -61,6 +64,9 @@ jobs:
with:
version: ${{ github.event.inputs.version }}
git-tag-version: ${{ github.event.inputs.dry-run != 'true' }}
- name: Push git tags
if: github.event.inputs.dry-run == 'false'
run: git push && git push --tags
# Dry run of preminor
- name: Preminor dry-run
if: |
Expand All @@ -74,7 +80,7 @@ jobs:
github.event.inputs.type == 'preminor' &&
github.event.inputs.dry-run == 'false'
run: |
npm publish --access=public --tag next
npm publish --provenance --access=public --tag next
# Dry run of minor
- name: Minor dry-run
if: |
Expand All @@ -88,4 +94,4 @@ jobs:
github.event.inputs.type == 'minor' &&
github.event.inputs.dry-run == 'false'
run: |
npm publish --access=public --tag latest
npm publish --provenance --access=public --tag latest

0 comments on commit 87a097c

Please sign in to comment.