Skip to content

Commit

Permalink
Create release pr automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Feb 3, 2023
1 parent 61fd732 commit 9a097d1
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/auto-release-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
branches:
- dev
name: Automatic release PR
jobs:
release-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Create pull request
run: |
gh pr create \
--base main \
--head dev \
--title "Dev to main" \
--body "Dev to main" || true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9a097d1

Please sign in to comment.