Skip to content

Commit

Permalink
ci: tag only on PR merges
Browse files Browse the repository at this point in the history
  • Loading branch information
sphars committed Jul 17, 2024
1 parent df846bd commit 3e7b4ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Create Tag on Merge

on:
push:
pull_request:
types:
- closed
branches:
- main

jobs:
create-tag:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 3e7b4ba

Please sign in to comment.