This commit is contained in:
parent
0f6f3b7893
commit
22111dd3bd
|
@ -22,5 +22,9 @@ jobs:
|
|||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
const script = require('.github/check-pr-base.js')
|
||||
await script({github, context})
|
||||
github.rest.issues.createComment({
|
||||
owner: context.payload.repository.owner.login,
|
||||
repo: context.payload.repository.name,
|
||||
issue_number: context.payload.number,
|
||||
body: `This PR is targeting the 'main' branch but did not originate from 'staging', please make sure this intentional`,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue