Skip to content

Commit 23291ab

Browse files
committed
ci(workflows): [publish] remove workflow_dispatch trigger
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 6078023 commit 23291ab

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
# - https://docs.github.com/actions/learn-github-actions/contexts
99
# - https://docs.github.com/actions/learn-github-actions/expressions
1010
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#release
11-
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
1211
# - https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions
1312
# - https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#release
14-
# - https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
1513
# - https://docs.npmjs.com/generating-provenance-statements
1614
# - https://github.com/actions/checkout
1715
# - https://github.com/actions/setup-node
@@ -28,15 +26,9 @@ on:
2826
release:
2927
types:
3028
- published
31-
workflow_dispatch:
32-
inputs:
33-
tag:
34-
description: release tag
35-
required: true
36-
type: string
3729
concurrency:
3830
cancel-in-progress: true
39-
group: ${{ github.workflow }}-${{ inputs.tag || github.ref_name }}
31+
group: ${{ github.workflow }}-${{ github.ref_name }}
4032
jobs:
4133
preflight:
4234
permissions:
@@ -65,7 +57,7 @@ jobs:
6557
with:
6658
artifact: |
6759
${{ format('@{0}-{1}-{2}.tgz', github.repository_owner, github.event.repository.name, steps.version.outputs.manifest) }}
68-
version: ${{ inputs.tag || github.ref_name }}
60+
version: ${{ github.ref_name }}
6961
- id: dist
7062
name: Get dist tag
7163
uses: flex-development/dist-tag-action@1.1.2

0 commit comments

Comments
 (0)