Skip to content

Commit

Permalink
build: only bump on PR merge
Browse files Browse the repository at this point in the history
and on manual trigger
  • Loading branch information
JorisVincent committed Mar 31, 2023
1 parent 3fc3606 commit 85852e0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/version.yml
@@ -1,9 +1,14 @@
name: Bump version (if necessary)

on: push
on:
pull_request_target:
types:
- closed
workflow_dispatch:

jobs:
bump-version:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 85852e0

Please sign in to comment.