We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e020fa commit 7dec428Copy full SHA for 7dec428
.github/workflows/feature-to-dev-pr.yml
@@ -0,0 +1,31 @@
1
+name: Auto PR feature to dev
2
+
3
+on:
4
+ push:
5
+ branches-ignore:
6
+ - main
7
+ - dev
8
+ - 'dependabot/**'
9
10
+jobs:
11
+ create-pull-request:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: write
15
+ pull-requests: write
16
+ steps:
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v4
19
20
+ - name: Create or Update PR
21
+ env:
22
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
+ run: |
24
+ gh pr create \
25
+ --base dev \
26
+ --head ${{ github.ref_name }} \
27
+ --title "Feature: ${{ github.ref_name }} to dev" \
28
+ --body "Automated PR tracking changes from \`${{ github.ref_name }}\` into \`dev\`." \
29
+ --reviewer aamoghS \
30
+ --assignee aamoghS \
31
+ --label ":arrow_heading_down: pull" || true
0 commit comments