fix: now WAF bypass token header is forwarded #279
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: Label PR | |
on: | |
pull_request: | |
types: [opened, edited] | |
jobs: | |
label-pr: | |
if: github.event_name == 'pull_request' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
pr: | |
[ | |
{ prefix: 'fix', type: 'bug' }, | |
{ prefix: 'chore', type: 'chore' }, | |
{ prefix: 'docs', type: 'chore' }, | |
{ prefix: 'test', type: 'chore' }, | |
{ prefix: 'ci', type: 'chore' }, | |
{ prefix: 'feat', type: 'feature' }, | |
{ prefix: 'security', type: 'security' }, | |
] | |
steps: | |
- uses: netlify/[email protected] | |
if: startsWith(github.event.pull_request.title, matrix.pr.prefix) | |
with: | |
token: '${{ secrets.GITHUB_TOKEN }}' | |
label: 'type: ${{ matrix.pr.type }}' |