Skip to content

Commit

Permalink
fix: add optional npm token input
Browse files Browse the repository at this point in the history
  • Loading branch information
notaphplover committed Oct 16, 2024
1 parent 7d6d3dc commit 69f297e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ concurrency:
cancel-in-progress: true
on:
workflow_dispatch:
secrets:
NPM_TOKEN:
required: true
inputs:
npm-token:
description: npm token to be used to publish npm packages
required: false
permissions:
actions: read
contents: write
Expand All @@ -33,4 +34,4 @@ jobs:
title: "[Changesets] Bump package versions"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ inputs.npm-token }}

0 comments on commit 69f297e

Please sign in to comment.