mirror of
https://github.com/luc-github/ESP3D.git
synced 2025-10-31 11:56:48 -07:00
Create pr_notif.yml
This commit is contained in:
21
.github/workflows/pr_notif.yml
vendored
Normal file
21
.github/workflows/pr_notif.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: 'PR Notifications'
|
||||||
|
|
||||||
|
on:
|
||||||
|
# Trigger the workflow on push or pull request
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- 2.1.x
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
comment:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/github-script@v6
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.issues.createComment({
|
||||||
|
issue_number: context.issue.number,
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
body: 'This branch does not take new feature, only bugfix, if your PR is a new feature please push it to 3.0 instead, thank you'
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user