Skip to content

Commit

Permalink
Merge pull request #725 from xmtp/rygine/release-workflow
Browse files Browse the repository at this point in the history
Update release workflow
  • Loading branch information
rygine authored Nov 19, 2024
2 parents e62fd25 + abb1513 commit 502cd4c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ on:
- main
- releases/**

workflow_dispatch:
inputs:
disable_audit:
type: boolean
description: "Disable audit in the release"
default: false

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
Expand Down Expand Up @@ -37,6 +44,7 @@ jobs:
- name: Install dependencies
run: yarn
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
if: ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && !inputs.disable_audit) }}
run: npm audit signatures
- name: Publish
uses: changesets/action@v1
Expand Down

0 comments on commit 502cd4c

Please sign in to comment.