Repository navigation
PR meta: Move the props list into the shared comment #82302
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
Merged
Merged
Changes from 20 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
8c0f48d
PR meta: Move the props list into the shared comment
manzoorwanijk 9b92aac
PR meta: Harden the props writer and its heading demotion
manzoorwanijk 52ceb5d
PR meta: Order props writes by run, and key props runs by pull request
manzoorwanijk ed60417
PR meta: Drop the run ordering
manzoorwanijk 5dfd1b6
PR meta: Stop folding the flaky tests, and widen the props budget
manzoorwanijk fee0bc8
PR meta: Close a truncated fence with the marker that opened it
manzoorwanijk 2211c61
PR meta: Fix the props writer's inputs and cancellation
manzoorwanijk 577f1ab
PR meta: Keep a no-op label run out of the props group
manzoorwanijk 051c2ac
PR meta: Keep runs that cannot write out of the props group
manzoorwanijk a9bacd2
PR meta: Keep the props trailer when the list is truncated
manzoorwanijk 0588f8a
PR meta: Remove the label before the gather starts, not beside it
manzoorwanijk bcb97c7
PR meta: Keep a label run out of the shared group
manzoorwanijk e790d81
PR meta: Make the truncation test catch the case it was written for
manzoorwanijk 04fec89
PR meta: Make the writer's condition explicit, and cut inside a trailer
manzoorwanijk a2bef71
PR meta: Take the label out of the props workflow, and stop re-trunca…
manzoorwanijk b006562
PR meta: Measure a truncation instead of reserving room for it
manzoorwanijk 66f73e9
PR meta: Keep a run link from breaking the budget it is measured against
manzoorwanijk 1af19a7
PR meta: Bound the run link where it is stored, not only where it is …
manzoorwanijk 7f774f9
PR meta: Take only a marker attribute that reads like what it claims
manzoorwanijk 7932fe0
PR meta: Accept a run link without TLS
manzoorwanijk 7533a52
PR meta: Say in the comment that editing it notifies nobody
manzoorwanijk 8bb5825
Merge branch 'trunk' into add/pr-meta-props-section
manzoorwanijk 84c9ca4
PR meta: Keep an unrelated label out of the props group again
manzoorwanijk eb74029
PR meta: Say which order a release branch takes the change in
manzoorwanijk 116240c
PR meta: Hold a section back until the target branch can carry it
manzoorwanijk c5c37d1
Merge branch 'trunk' into add/pr-meta-props-section
ciampo b5d576c
Props Bot: Preserve standalone updates on release branches
ciampo 4e1bc5b
Props Bot: Pin the action to a verified commit
ciampo b239a79
Merge branch 'trunk' into add/pr-meta-props-section
manzoorwanijk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,55 @@ | ||
| name: Props Bot Label | ||
|
|
||
| on: | ||
| # Removing the label is what lets it be added again to ask for another | ||
| # refresh, so it lives apart from the gather: that one cancels superseded | ||
| # runs, and a cancellation here would strand the label. | ||
| pull_request_target: | ||
| types: | ||
| - labeled | ||
| # A label added while the pull request could not be acted on is a | ||
| # request still waiting, so these consume it when it can be. | ||
| - ready_for_review | ||
| - reopened | ||
|
|
||
| # Disable permissions for all available scopes by default. | ||
| # Any needed permissions should be configured at the job level. | ||
| permissions: {} | ||
|
|
||
| jobs: | ||
| remove-label: | ||
| name: Remove the props-bot label | ||
| runs-on: 'ubuntu-24.04' | ||
| permissions: | ||
| pull-requests: write | ||
| timeout-minutes: 5 | ||
| # Matches the gather's own guard: removing the label on a draft would | ||
| # take away the request without anything acting on it. | ||
| if: | | ||
| ( | ||
| github.event.action == 'labeled' && 'props-bot' == github.event.label.name || | ||
| github.event.action != 'labeled' && contains( github.event.pull_request.labels.*.name, 'props-bot' ) | ||
| ) && | ||
| ! github.event.pull_request.draft && github.event.pull_request.state == 'open' | ||
|
|
||
| steps: | ||
| - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | ||
| env: | ||
| ISSUE_NUMBER: ${{ github.event.number }} | ||
| with: | ||
| retries: 2 | ||
| retry-exempt-status-codes: 418 | ||
| script: | | ||
| try { | ||
| await github.rest.issues.removeLabel( { | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| issue_number: process.env.ISSUE_NUMBER, | ||
| name: 'props-bot', | ||
| } ); | ||
| } catch ( error ) { | ||
| // Someone removed it first, which is the same outcome. | ||
| if ( error.status !== 404 ) { | ||
| throw error; | ||
| } | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.