Skip to content

Commit

Permalink
Create pr_notif.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-github committed Dec 1, 2023
1 parent 38d417e commit bb5a459
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pr_notif.yml
Original file line number Diff line number Diff line change
@@ -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'
})

0 comments on commit bb5a459

Please sign in to comment.