Skip to content

Fix permissions and enable bash pipefail option #49

Fix permissions and enable bash pipefail option

Fix permissions and enable bash pipefail option #49

Workflow file for this run

name: PR Labeler
on:
pull_request:
types: [ opened ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
defaults:
run:
shell: bash
jobs:
pr-labeler:
if: github.event.pull_request.head.repo.fork == false # Skip on public fork
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
pull-requests: write
steps:
- uses: TimonVS/pr-labeler-action@v5
with:
configuration-path: .github/pr-labeler.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}