workflows: handle v4 upload-artifact usage #3757
Workflow file for this run
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: '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 |