Skip to content

Commit

Permalink
add nitpicker for rel branch PR's
Browse files Browse the repository at this point in the history
  • Loading branch information
gcampbell-msft committed Sep 5, 2024
1 parent f35be38 commit a9eafc0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/nitpicker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- markdown: |
Have you checked this code into `main`? If not, close this PR and do that first.
blocking: true
21 changes: 21 additions & 0 deletions .github/workflows/pr-into-rel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Comment on PRs merged into release branches

on:
pull_request:
types:
- opened
- reopened
branches:
- 'rel'

permissions:
pull-requests: write

jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: ethanis/nitpicker@v1
with:
nitpicks: '.github/workflows/nitpicker.yml'
token: '${{ secrets.GITHUB_TOKEN }}'

0 comments on commit a9eafc0

Please sign in to comment.