Skip to content

Bump xunit from 2.5.1 to 2.6.0 in /samples/snippets/core/tutorials/testing-with-cli/csharp/test/NewTypesTests #1244

Bump xunit from 2.5.1 to 2.6.0 in /samples/snippets/core/tutorials/testing-with-cli/csharp/test/NewTypesTests

Bump xunit from 2.5.1 to 2.6.0 in /samples/snippets/core/tutorials/testing-with-cli/csharp/test/NewTypesTests #1244

Workflow file for this run

on: [pull_request_target]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
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.'
})
}