-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into mp/design-tweaks-35.2.x
- Loading branch information
Showing
7 changed files
with
231 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/react": patch | ||
--- | ||
|
||
Add button focus styles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
## ❗ Pre-merge checklist | ||
|
||
Please ensure these items are checked before merging. | ||
|
||
### 🔎 Smoke test | ||
|
||
- [ ] All CI checks pass | ||
- [ ] Docs and Storybook open in a browser | ||
- [ ] Successful integration test with GitHub Projects as a primary consumer of Primer React | ||
- [ ] Install the Release Candidate | ||
- [ ] Verify no new build errors appear | ||
- [ ] Verify no new linting errors appear | ||
- [ ] Verify no new browser console errors appear | ||
- [ ] Verify unit tests and E2E tests pass | ||
- [ ] Manually test critical paths (Tip: Use the provided tests project boards) | ||
- [ ] Manually test release-specific bugfixes and/or features work as described | ||
- [ ] Works in CodeSandbox or StackBlitz | ||
- [ ] New components render successfully | ||
- [ ] (optional) Tested in both SPA and SSR apps if release contains build changes | ||
|
||
### 🤔 Sanity test | ||
|
||
- [ ] All bugfixes in this release have resolved their corrosponding issues | ||
- [ ] All new features in this release have been tested and verified as compatible with GitHub Projects | ||
- [ ] No noticeable regressions have not been introduced as a result of changes in this release | ||
- [ ] Release notes accurately describe the changes made | ||
|
||
Please also leave any testing notes as a comment on this pull request. In particular, describing any issues encountered during your testing. This is helpful in providing historical context to maintainers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Pull request | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
release-template: | ||
# Only run on Release Tracking branch | ||
if: ${{ github.head_ref == 'changeset-release/main' }} | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Get or Create Comment | ||
uses: actions/github-script@v5 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
const fs = require('fs') | ||
const body = await fs.readFileSync('.github/release_template.md', 'utf8') | ||
const result = await github.rest.issues.listComments({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo | ||
}); | ||
const botComments = result.data.filter(c => c.user.login == 'github-actions[bot]') | ||
if (!botComments.length) { | ||
await github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: body.replace('{{PR_AUTHOR}}', context.payload.sender.login) | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.