[API Proposal]: OnBeforeBuild Delegate - Add a hook into the ServiceCollection, allowing execution of code just before building the ServiceProvider #382448
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
name: Backport PR to branch | |
on: | |
issue_comment: | |
types: [created] | |
schedule: | |
# once a day at 13:00 UTC to cleanup old runs | |
- cron: '0 13 * * *' | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
actions: write | |
jobs: | |
backport: | |
if: ${{ contains(github.event.comment.body, '/backport to') || github.event_name == 'schedule' }} | |
uses: dotnet/arcade/.github/workflows/backport-base.yml@main | |
with: | |
pr_description_template: | | |
Backport of #%source_pr_number% to %target_branch% | |
/cc %cc_users% | |
## Customer Impact | |
- [ ] Customer reported | |
- [ ] Found internally | |
[Select one or both of the boxes. Describe how this issue impacts customers, citing the expected and actual behaviors and scope of the issue. If customer-reported, provide the issue number.] | |
## Regression | |
- [ ] Yes | |
- [ ] No | |
[If yes, specify when the regression was introduced. Provide the PR or commit if known.] | |
## Testing | |
[How was the fix verified? How was the issue missed previously? What tests were added?] | |
## Risk | |
[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.] | |
**IMPORTANT**: If this backport is for a servicing release, please verify that: | |
- The PR target branch is `release/X.0-staging`, not `release/X.0`. | |
## Package authoring no longer needed in .NET 9 | |
**IMPORTANT**: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version. | |
Keep in mind that we still need package authoring in .NET 8 and older versions. |