Skip to content

Update request pipeline to use the AuthSchemeResolver to resolve the identity and signer #916

Update request pipeline to use the AuthSchemeResolver to resolve the identity and signer

Update request pipeline to use the AuthSchemeResolver to resolve the identity and signer #916

Workflow file for this run

name: PR workflow
on:
pull_request:
types: [synchronize, opened, reopened, edited]
jobs:
check-is-destination-branch-protected:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
# "base_ref" is the target branch of the pull request (https://docs.github.com/en/actions/learn-github-actions/contexts#github-context)
if: ${{ github.base_ref == 'main' }}
with:
script: |
core.setFailed('PRs must target either main-staging or a feature branch')