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

[NoQA] Fix the new contributor message #8542

Merged
merged 1 commit into from
Apr 7, 2022
Merged

Conversation

mountiny
Copy link
Contributor

@mountiny mountiny commented Apr 7, 2022

Details

The functionality is broken currently as seen here, and I am working on a refactoring of the predeploy, but cant fit it into my schedule currently as testing takes a long time.

The problem is that the isExpensifyEmployee takes the username of the person who merged the code and not the owner of the PR.

Fixed Issues

This is related to https://github.com/Expensify/Expensify/issues/194440

Tests

QA Steps

See whether a PR from a new contributor gets a welcome message.

@mountiny mountiny requested a review from a team as a code owner April 7, 2022 17:04
@mountiny mountiny self-assigned this Apr 7, 2022
@melvin-bot melvin-bot bot requested review from stitesExpensify and removed request for a team April 7, 2022 17:05
- name: Check whether the actor is member of Expensify/expensify team
id: checkActor
uses: tspascoal/get-user-teams-membership@baf2e6adf4c3b897bd65a7e3184305c165aec872
with:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
username: ${{ github.actor }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The github.actor is the person who merges the PR unfortunately, so we need to use the action-get-merged-pull-request to get info about the PR.

@mountiny
Copy link
Contributor Author

mountiny commented Apr 7, 2022

I might be able to re-run this job https://github.com/Expensify/App/runs/5869232353?check_suite_focus=true once this is merged to test the PR.

@madmax330 madmax330 merged commit 3203b95 into main Apr 7, 2022
@madmax330 madmax330 deleted the vit-fixNewContributor branch April 7, 2022 17:16
@mountiny
Copy link
Contributor Author

mountiny commented Apr 7, 2022

Thank you @madmax330 🙇

@mountiny
Copy link
Contributor Author

mountiny commented Apr 7, 2022

Confirmed it worked by checking the action for this PR merge, the username should be mine (mountiny) as the creator of the PR and not of Maxence. All good 👍

image

@OSBotify
Copy link
Contributor

OSBotify commented Apr 7, 2022

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

OSBotify commented Apr 8, 2022

🚀 Deployed to staging by @madmax330 in version: 1.1.54-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @Julesssss in version: 1.1.54-1 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

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.

3 participants