[No QA] Update deployBlocker workflow to stop using community actions#31505
Conversation
| uses: ./.github/actions/javascript/createOrUpdateStagingDeploy | ||
| with: | ||
| GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }} | ||
| GITHUB_TOKEN: ${{ steps.setupGitForOSBotify.outputs.OS_BOTIFY_API_TOKEN }} |
There was a problem hiding this comment.
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.
Does github.token have the correct permissions to create? I thought it was usually just read only
There was a problem hiding this comment.
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.
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
deployBlockerworkflow to:ghcli instead of community actions (we're seeing warnings on the labeler action as it's still using Node 12)Fixed Issues
$ n/a
Tests
DeployBlockerCashlabel to an issueOffline tests
n/a
QA Steps
n/a
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop