mirror of
https://github.com/apache/superset.git
synced 2024-09-19 03:59:49 -04:00
22 lines
499 B
YAML
22 lines
499 B
YAML
name: "Pull Request Labeler"
|
|
on:
|
|
- pull_request_target
|
|
|
|
jobs:
|
|
labeler:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/labeler@v5
|
|
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
|