Skip to content

Commit 4985f6d

Browse files
committed
feat(release): automatically open release prs with github workflow
1 parent 6d36a2d commit 4985f6d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Open Release PRs
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
create-release:
9+
name: Create Release
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Get current date
14+
id: date
15+
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
16+
- name: Open Pull Request
17+
uses: repo-sync/pull-request@v2
18+
with:
19+
destination_branch: "prod"
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
pr_title: "MapMarker Release ${{ steps.date.outputs.date }}"

0 commit comments

Comments
 (0)