name: "Pull Request Labeler" on: - pull_request_target # cancel previous workflow jobs for PRs concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: labeler: permissions: contents: read pull-requests: write runs-on: ubuntu-26.04 steps: - uses: actions/labeler@bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13 # v7.0.0 with: sync-labels: true # TODO: run scripts based on labels! # - id: run-translation-scripts # if: contains(steps.label-the-PR.outputs.all-labels, 'i18n') # run: | # echo "Running translation scripts" # # Generate .pot -> .po -> .json files