mirror of
https://github.com/apache/superset.git
synced 2026-04-09 19:35:21 +00:00
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
name: Change Detector
|
|
description: Detects file changes for pull request and push events
|
|
inputs:
|
|
token:
|
|
description: GitHub token for authentication
|
|
required: true
|
|
outputs:
|
|
python:
|
|
description: Whether Python-related files were changed
|
|
value: ${{ steps.change-detector.outputs.python }}
|
|
frontend:
|
|
description: Whether frontend-related files were changed
|
|
value: ${{ steps.change-detector.outputs.frontend }}
|
|
docker:
|
|
description: Whether docker-related files were changed
|
|
value: ${{ steps.change-detector.outputs.docker }}
|
|
docs:
|
|
description: Whether docs-related files were changed
|
|
value: ${{ steps.change-detector.outputs.docs }}
|
|
superset-extensions-cli:
|
|
description: Whether superset-extensions-cli package-related files were changed
|
|
value: ${{ steps.change-detector.outputs.superset-extensions-cli }}
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Detect file changes
|
|
id: change-detector
|
|
run: |
|
|
python --version
|
|
python scripts/change_detector.py
|
|
shell: bash
|
|
env:
|
|
GITHUB_TOKEN: ${{ inputs.token }}
|
|
GITHUB_OUTPUT: ${{ github.output }}
|