summaryrefslogtreecommitdiffstats
path: root/fluent-bit/.github/workflows/pr-labels.yaml
blob: f8139304799da5ccb70b474fefae3531922c9bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: 'Pull requests labels'
on:
  pull_request_target:
    types:
      - opened
jobs:
  apply-default-labels:
    name: PR - apply default labels
    runs-on: ubuntu-latest
    steps:
      - uses: actions-ecosystem/action-add-labels@v1
        name: Label the PR with 'docs-required' by default.
        with:
          labels: docs-required
          github_token: ${{ secrets.GITHUB_TOKEN }}
          number: ${{ github.event.pull_request.number }}
          repo: fluent/fluent-bit