Skip to content
Snippets Groups Projects
labels.yml 497 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-22.04
    
        if: github.repository_owner == 'freifunk-gluon'
        steps:
    
        - uses: actions/labeler@v5
    
          with:
            repo-token: ${{ secrets.GITHUB_TOKEN }}
            sync-labels: true