Skip to content

chore(deps): update actions/add-to-project action to v0.6.1 - autoclosed #4477

chore(deps): update actions/add-to-project action to v0.6.1 - autoclosed

chore(deps): update actions/add-to-project action to v0.6.1 - autoclosed #4477

Workflow file for this run

name: Label PR
on:
pull_request:
types: [opened, edited]
jobs:
label-pr:
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest
strategy:
matrix:
pr:
[
{ prefix: 'fix', type: 'bug' },
{ prefix: 'chore', type: 'chore' },
{ prefix: 'test', type: 'chore' },
{ prefix: 'ci', type: 'chore' },
{ prefix: 'feat', type: 'feature' },
{ prefix: 'security', type: 'security' },
]
steps:
- uses: netlify/pr-labeler-action@v1.1.0
if: startsWith(github.event.pull_request.title, matrix.pr.prefix)
with:
token: '${{ secrets.GITHUB_TOKEN }}'
label: 'type: ${{ matrix.pr.type }}'