Skip to content

Commit

Permalink
chore: release on merge
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Dec 16, 2024
1 parent 4cff348 commit 3e3cadf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Release

on:
push:
branches: [main]
pull_request:
types: [closed]
workflow_dispatch:

permissions:
Expand All @@ -11,6 +11,7 @@ permissions:

jobs:
release:
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 3e3cadf

Please sign in to comment.