name: "Pull Request Triage" on: pull_request_target: types: [opened, ready_for_review] jobs: triage: runs-on: ubuntu-latest steps: # Grab sources to get latest labeler.yml - name: Fetch sources uses: actions/checkout@v4 with: # Ensure we pin the source origin as pull_request_target run under forks. fetch-depth: 0 repository: projects/Ryubing ref: master - name: Update labels based on changes uses: actions/labeler@v6 with: repo-token: ${{ secrets.LABELER_TOKEN }} configuration-path: .forgejo/labeler.yml sync-labels: true dot: true