name: labels on: push: branches: [master] paths: - .github/labels.yml - .github/workflows/labels.yml jobs: labeler: # Only run from pushes from this repository to avoid # `Resource not accessible by integration` errors. if: github.repository == 'qdm12/gluetun' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: crazy-max/ghaction-github-labeler@v4 with: yaml-file: .github/labels.yml