Skip to content
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

Merged
merged 4 commits into from
Feb 1, 2024

Conversation

jmartinesp
Copy link
Member

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

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

@jmartinesp jmartinesp requested a review from a team as a code owner February 1, 2024 11:51
@jmartinesp jmartinesp requested review from ganfra and removed request for a team February 1, 2024 11:51
@jmartinesp jmartinesp force-pushed the misc/jme/try-to-fix-fork-pr-notice-flow branch from 212f85c to 9f76874 Compare February 1, 2024 11:56
Copy link
Contributor

github-actions bot commented Feb 1, 2024

Thank you for your contribution! Here are a few things to check in the PR to ensure it's reviewed as quickly as possible:

  • Your branch should be based on origin/develop, at least when it was created.
  • There is a changelog entry in the changelog.d folder with the Towncrier format.
  • The test pass locally running ./gradlew test.
  • The code quality check suite pass locally running ./gradlew runQualityChecks.
  • If you modified anything related to the UI, including previews, you'll have to run the Record screenshots GH action in your forked repo: that will generate compatible new screenshots. However, given Github Actions limitations, it will prevent the CI from running temporarily, until you upload a new commit after that one. To do so, just pull the latest changes and push an empty commit.

Copy link
Contributor

github-actions bot commented Feb 1, 2024

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/3qPUVG

Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d4cde9b) 70.07% compared to head (85e7d12) 70.07%.

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.
📢 Have feedback on the report? Share it here.

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -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
Copy link
Member

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 :)

Copy link
Member Author

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 😅 .

@jmartinesp jmartinesp merged commit 5202f73 into develop Feb 1, 2024
11 checks passed
@jmartinesp jmartinesp deleted the misc/jme/try-to-fix-fork-pr-notice-flow branch February 1, 2024 14:26
Copy link

sonarcloud bot commented Feb 1, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants