Try fixing contributor PR notice (#2335)
* Try fixing contributor PR notice
This commit is contained in:
parent
c8daa8b1eb
commit
5202f732cc
1 changed files with 2 additions and 1 deletions
3
.github/workflows/fork-pr-notice.yml
vendored
3
.github/workflows/fork-pr-notice.yml
vendored
|
|
@ -11,7 +11,8 @@ jobs:
|
||||||
welcome:
|
welcome:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Welcome comment
|
name: Welcome comment
|
||||||
if: github.event.pull_request.fork != null
|
# Only display it if base repo (upstream) is different from HEAD repo (possibly a fork)
|
||||||
|
if: github.event.pull_request.base.repo.full_name != github.event.pull_request.head.repo.full_name
|
||||||
steps:
|
steps:
|
||||||
- name: Add auto-generated commit warning
|
- name: Add auto-generated commit warning
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue