Skip to content

Commit

Permalink
ci: update release action and only publish from protected branch (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
sparten11740 authored Dec 7, 2024
1 parent e02277e commit a44c99c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
run: yarn install --immutable
- name: Build
run: yarn build
- uses: ExodusMovement/lerna-release-action/publish@f7bb33dbbd7a57206eea2fcb79d7fcc2a61bcbb9
- uses: ExodusMovement/lerna-release-action/publish@6dc016246588346b8181638a1c093d8c8e14c7f8
id: publish
with:
github-token: ${{ secrets.GH_AUTOMATION_PAT }}
required-branch-rulesets: 179028
2 changes: 1 addition & 1 deletion .github/workflows/version-dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ExodusMovement/lerna-release-action/version-dispatch@f7bb33dbbd7a57206eea2fcb79d7fcc2a61bcbb9
- uses: ExodusMovement/lerna-release-action/version-dispatch@6dc016246588346b8181638a1c093d8c8e14c7f8
with:
version-workflow-id: version.yaml
github-token: ${{ secrets.GH_AUTOMATION_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Prepare
run: yarn prepare
- name: Version
uses: ExodusMovement/lerna-release-action/version@f7bb33dbbd7a57206eea2fcb79d7fcc2a61bcbb9
uses: ExodusMovement/lerna-release-action/version@6dc016246588346b8181638a1c093d8c8e14c7f8
with:
github-token: ${{ secrets.GH_AUTOMATION_PAT }}
packages: ${{ inputs.packages }}
Expand Down

0 comments on commit a44c99c

Please sign in to comment.