-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try fixing contributor PR notice #2335
Conversation
212f85c
to
9f76874
Compare
Thank you for your contribution! Here are a few things to check in the PR to ensure it's reviewed as quickly as possible:
|
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2335 +/- ##
========================================
Coverage 70.07% 70.07%
========================================
Files 1352 1352
Lines 33243 33243
Branches 6875 6875
========================================
Hits 23296 23296
Misses 6633 6633
Partials 3314 3314 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
.github/workflows/fork-pr-notice.yml
Outdated
@@ -11,7 +11,8 @@ jobs: | |||
welcome: | |||
runs-on: ubuntu-latest | |||
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.head.repo.full_name != github.event.pull_request.base.repo.full_name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment does not match the code, there is a swap between base
and head
, and that was not nice for my head
:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll swap the values 😅 .
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Type of change
Content
The
if
in this flow was never true, so I tried a safer and more manual approach.Motivation and context
Contributor PR notice wasn't displayed for external PRs anymore.
Checklist