Skip to content

Commit e2ac7e0

Browse files
committed
try create
1 parent 5da8365 commit e2ac7e0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/publish-extension.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,19 @@ name: Publish Extension
22

33
on:
44
workflow_dispatch:
5-
push:
6-
tags:
7-
- '*'
5+
6+
# ref: https://github.com/actions/runner/issues/1007#issuecomment-808904408
7+
# Triggers the workflow on push or pull request events but only for the main branch
8+
create:
89

910
permissions:
1011
contents: write
1112
packages: write
1213

1314
jobs:
1415
publish:
16+
if: ${{ startsWith(github.ref, 'refs/tags/oh-my-commit') }}
17+
1518
runs-on: ubuntu-latest
1619
steps:
1720
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)