diff --git a/.github/labeler.yml b/.github/labeler.yml index 7816408..a1e227b 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,6 +1,16 @@ # Made with love -# see https://github.com/actions/labeler -# for more informations +# +# This is the configuration file for the labeler action +# for more example in setting this file or informations about +# the labeler action, see: +# https://github.com/actions/labeler +# +# If you want to use it in your project, you will simply need: +# 1 - commit this config file to your repository into the '.github' folder. +# 2 - commit the 'labeler.yml' action file into the '.github/workflows' folder. +# +# You will probably need to modify the labels, or their targets. +# # Add 'assets' label to any assets file changes within the source dir Assets: diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 9ff8b06..d0a2a50 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,3 +1,21 @@ +# Made with love +# +# This workflow uses actions that are not certified by GitHub. +# +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# see https://github.com/actions/labeler +# for more informations +# +# For most projects, this workflow file will not need changing; you simply need: +# 1 - commit this file to your repository into the '.github/workflows' folder. +# 2 - commit the 'labeler.yml' configuration file into the '.github' folder. +# +# You probably want to add, replace or delete labels, +# remember to check this configuration file. +# + name: "Pull Request Labeler" on: - pull_request_target @@ -11,5 +29,8 @@ jobs: steps: - uses: actions/labeler@v4 with: + # Check if you have enabled tokens for your repository repo-token: "${{ secrets.GITHUB_TOKEN }}" + # This removes the label if the change(s) are undone in the PR sync-labels: true +