-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No QA] Update deployBlocker workflow to stop using community actions #31505
Conversation
with: | ||
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }} | ||
GITHUB_TOKEN: ${{ steps.setupGitForOSBotify.outputs.OS_BOTIFY_API_TOKEN }} |
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.
Alternatively, I think we could just use github.token
here. The GitHub Actions bot is also a GitHub App so has the higher rate limits. That's simpler, but then checklists would no longer be created by OSBotify. AFAIK that's not a problem though.
So I'm inclined to just use github.token
here. Thoughts?
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.
Does github.token
have the correct permissions to create? I thought it was usually just read only
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.
Well looking here: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
It looks like it should have read/write for everything it needs in the context of creating a checklist (issues, pull requests, actions)
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'm happy with how code is now, but feel free to adjust if you prefer 👍
Reviewer Checklist
Screenshots/VideosAndroid: NativeN/A - Deploy code only Android: mWeb ChromeN/A - Deploy code only iOS: NativeN/A - Deploy code only iOS: mWeb SafariN/A - Deploy code only MacOS: Chrome / SafariN/A - Deploy code only MacOS: DesktopN/A - Deploy code only |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.1-13 🚀
|
Details
This PR updates the
deployBlocker
workflow to:gh
cli instead of community actions (we're seeing warnings on the labeler action as it's still using Node 12)Fixed Issues
$ n/a
Tests
DeployBlockerCash
label to an issueOffline tests
n/a
QA Steps
n/a
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop