sdashdh
This commit is contained in:
parent
888a0c105d
commit
c30a947156
1
.github/workflows/label-maker.yml
vendored
1
.github/workflows/label-maker.yml
vendored
@ -17,7 +17,6 @@ jobs:
|
||||
uses: crazy-max/ghaction-github-labeler@v1
|
||||
with:
|
||||
yaml_file: .github/labels.yml
|
||||
exclude: "['help*', '*issue']"
|
||||
skip_delete: false
|
||||
dry_run: false
|
||||
env:
|
||||
|
22
.github/workflows/labeler.yml
vendored
22
.github/workflows/labeler.yml
vendored
@ -1,20 +1,20 @@
|
||||
# This workflow will triage pull requests and apply a label based on the
|
||||
# paths that are modified in the pull request.
|
||||
#
|
||||
# To use this workflow, you will need to set up a .github/labeler.yml
|
||||
# file with configuration. For more information, see:
|
||||
# https://github.com/actions/labeler/blob/master/README.md
|
||||
|
||||
# Workflow to associate labels automatically
|
||||
name: Labeler
|
||||
|
||||
# Trigger the workflow on pull request events
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
label:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
steps:
|
||||
- uses: actions/labeler@v2
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
# We need to checkout the repository to access the configured file (.github/label-pr.yml)
|
||||
- uses: actions/checkout@v2
|
||||
- name: Labeler
|
||||
uses: docker://decathlon/pull-request-labeler-action:2.0.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Here we can override the path for the action configuration. If none is provided, default one is `.github/label-pr.yml`
|
||||
CONFIG_PATH: ${{ secrets.GITHUB_WORKSPACE }}/.github/label-pr.yml
|
Loading…
Reference in New Issue
Block a user