Skip to content
Snippets Groups Projects
labels.yml 498 B
Newer Older
  • Learn to ignore specific revisions
  • name: "Label PRs"
    
    on:
      # only execute base branch actions
      pull_request_target:
    
    
    permissions:
      contents: read
    
    
        permissions:
          contents: read  # for actions/labeler to determine modified files
          pull-requests: write  # for actions/labeler to add labels to PRs
    
        runs-on: ubuntu-latest
        if: github.repository_owner == 'freifunk-gluon'
        steps:
    
        - uses: actions/labeler@v4
    
          with:
            repo-token: ${{ secrets.GITHUB_TOKEN }}
            sync-labels: true