2024-01-30 12:26:34 -05:00
|
|
|
name: "Pull Request Labeler"
|
|
|
|
on:
|
2024-01-30 13:58:48 -05:00
|
|
|
- pull_request_target
|
2024-01-30 12:26:34 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
labeler:
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pull-requests: write
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/labeler@v5
|
2024-02-01 12:59:03 -05:00
|
|
|
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
|