Skip to content

Commit 53bb203

Browse files
author
github-actions
committed
chore: merge main to develop
2 parents fff4937 + 86e8e53 commit 53bb203

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: COMMENT_TARGETS_MAIN
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
branches:
7+
- main
8+
permissions:
9+
pull-requests: write
10+
jobs:
11+
comment:
12+
name: Comment on targeting main branch
13+
runs-on: ubuntu-latest
14+
permissions:
15+
pull-requests: write
16+
steps:
17+
- name: Create comment
18+
env:
19+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
GH_REPO: ${{ github.repository }}
21+
NUMBER: ${{ github.event.number }}
22+
BODY: |
23+
This pull request targets the `main` branch. Please target `main` for bug fixes only. Target `develop` for regular feature development.
24+
run: gh issue comment "$NUMBER" --body "$BODY"

0 commit comments

Comments
 (0)