Skip to content

fix: add checkout before paths-filter in CI #138

fix: add checkout before paths-filter in CI

fix: add checkout before paths-filter in CI #138

Workflow file for this run

name: PR Labeler
on:
pull_request_target:
types: [opened, synchronize, reopened]
push:
branches: [main]
paths: [.github/labels.json]
permissions:
pull-requests: write
issues: write
jobs:
sync-labels:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: EndBug/label-sync@v2
with:
config-file: .github/labels.json
delete-other-labels: false
label:
if: github.event_name == 'pull_request_target'
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
configuration-path: .github/labeler.yml