Skip to content

Commit b9da594

Browse files
committed
Automatic workflows update from ASF-PluginTemplate
1 parent 7ed4f94 commit b9da594

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Plugin-ci
22

3-
on: [push, pull_request]
3+
on: [pull_request, push, workflow_dispatch]
44

55
env:
66
DOTNET_CLI_TELEMETRY_OPTOUT: true

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Plugin-publish
22

3-
on: [push, pull_request]
3+
on: [pull_request, push, workflow_dispatch]
44

55
env:
66
CONFIGURATION: Release
@@ -137,7 +137,7 @@ jobs:
137137
path: out/${{ steps.plugin-name.outputs.info }}.zip
138138

139139
release:
140-
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
140+
if: ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/') }}
141141
needs: publish
142142
runs-on: ubuntu-latest
143143

0 commit comments

Comments
 (0)