refactor: enhancement and documenting
This commit is contained in:
9
.github/workflows/publish-npm.yaml
vendored
9
.github/workflows/publish-npm.yaml
vendored
@@ -2,6 +2,11 @@
|
||||
|
||||
name: Publish NPM
|
||||
|
||||
# Required permission on the caller workflow
|
||||
# permissions:
|
||||
# contents: read
|
||||
# id-token: write
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
@@ -20,10 +25,6 @@ on:
|
||||
required: true
|
||||
description: 'NPM token'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
main:
|
||||
if: github.repository_owner == 'the-nexim'
|
||||
|
||||
Reference in New Issue
Block a user