Skip to content

Bump Microsoft.Extensions.Http.Resilience from 8.6.0 to 8.7.0 in /docs/fundamentals/snippets/components/AspireApp/AspireApp.ServiceDefaults in the dotnet group #1839

Bump Microsoft.Extensions.Http.Resilience from 8.6.0 to 8.7.0 in /docs/fundamentals/snippets/components/AspireApp/AspireApp.ServiceDefaults in the dotnet group

Bump Microsoft.Extensions.Http.Resilience from 8.6.0 to 8.7.0 in /docs/fundamentals/snippets/components/AspireApp/AspireApp.ServiceDefaults in the dotnet group #1839

Workflow file for this run

name: Protect live branch
on: [pull_request_target]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
env:
SHOULD_COMMENT: ${{ github.base_ref == 'refs/heads/live' && !(github.event.issue.user.login == 'cxwtool' || github.head_ref == 'refs/heads/main') }}
with:
script: |
if (process.env.SHOULD_COMMENT == 'true') {
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'It looks like this pull request may have been opened on the `live` branch by mistake. In general, PRs should target the `main` branch.'
})
}