Skip to content

Commit

Permalink
chore: new release pr merge trigger (#112)
Browse files Browse the repository at this point in the history
# Description 📖
Changes the Github actions so that release PRs are no longer
automatically merged, but manually.
  • Loading branch information
velramiir authored Oct 2, 2024
1 parent 573bd5f commit c186576
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-pr-after-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release PR After Merge

on:
pull_request:
branches:
- release
types:
- closed

jobs:
release-pr-after-merge:
name: Create Release
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.title, 'chore(release)')
uses: dot-base/.github/.github/workflows/release-pr-after-merge.yml@main
secrets:
GH_BOT_USER: ${{ secrets.GH_BOT_USER }}
GH_BOT_PAT: ${{ secrets.GH_BOT_PAT }}
CR_PAT: ${{ secrets.CR_PAT }}
with:
RELEASED_FROM_MAIN: ${{ github.event.pull_request.head == 'main' }}
SERVICE_TYPE: node

0 comments on commit c186576

Please sign in to comment.