Skip to content

Commit

Permalink
remove the option to manually trigger actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyauhalin committed Nov 17, 2024
1 parent 307cfe4 commit 30aa1a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Audit
on:
pull_request:
push:
workflow_dispatch:

jobs:
audit:
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ permissions:
contents: write

on:
workflow_dispatch:
push:
tags:
- v*

jobs:
release:
Expand Down Expand Up @@ -60,6 +62,10 @@ jobs:
env:
GH_TOKEN: ${{github.token}}
run: |
v=$(jq --raw-output ".version" package.json)
gh release create "v${v}" --generate-notes
gh release upload "v${v}" moondusttheme.vsix
gh release create \
--notes-from-tag \
--title "${{github.ref_name}}" \
"${{github.ref_name}}"
gh release upload \
"${{github.ref_name}}" \
moondusttheme.vsix

0 comments on commit 30aa1a9

Please sign in to comment.