name: labels on: push: branches: ["master"] paths: - '.github/labels.yml' - '.github/workflows/labels.yml' jobs: labeler: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Labeler if: success() uses: crazy-max/ghaction-github-labeler@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}