Skip to content

Commit

Permalink
run publish on changes to version.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Morris committed Jul 2, 2024
1 parent 5dd1ee3 commit f4f48f1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: publish
on:
pull_request:
types: [closed]
branches: [main]
push:
branches:
- main
paths:
- version.toml
jobs:
publish:
# only publish when the PR is a version bump PR and the pr is merged to main
if: github.event.pull_request.title == 'admin/version-bump' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
environment: release
permissions:
Expand Down

0 comments on commit f4f48f1

Please sign in to comment.