Skip to content

Commit 425555b

Browse files
committed
feat: create PR from release-test -> release
chore: testing release PR creation #1
1 parent de43ff6 commit 425555b

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Create Release PR
2+
on:
3+
push:
4+
branches: [ release-test ]
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
jobs:
11+
release:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Semantic Release Versioning
17+
uses: cycjimmy/semantic-release-action@v4
18+
with:
19+
extra_plugins: |
20+
@semantic-release/commit-analyzer
21+
@semantic-release/release-notes-generator
22+
@semantic-release/github
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
26+
- name: Create Release PR
27+
with:
28+
token: ${{ secrets.GHA_CREATE_PR }}
29+
run: |
30+
# Create PR using GitHub CLI
31+
gh pr create \
32+
--base release \
33+
--head release-test \
34+
--title "chore: new release" \
35+
--body "Automated PR from release-test to release" \
36+
--label "automated pr"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hypercert-app",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

0 commit comments

Comments
 (0)