msyavuz commented on code in PR #33180:
URL: https://github.com/apache/superset/pull/33180#discussion_r2051421566
##########
.github/workflows/metadata-backward-compatibility.yml:
##########
@@ -0,0 +1,64 @@
+name: "Chart Metadata Backward Compatibility Check"
+
+on:
+ push:
+ branches:
+ - "master"
+ - "[0-9].[0-9]*"
+ pull_request:
+ types: [opened, synchronize, reopened, ready_for_review, labeled]
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.run_id }}
+ cancel-in-progress: true
+
+jobs:
+ backward-compatibility-check:
+ runs-on: ubuntu-24.04
+
+ steps:
+ - name: "Checkout code"
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ persist-credentials: false
+ submodules: recursive
+
+ - name: "Set up Git"
+ run: |
+ git fetch origin master
+
+ - name: "Check for changes in critical files"
+ id: check_changes
+ run: |
+ CHANGED_FILES=$(git diff --name-only origin/master...HEAD)
Review Comment:
I think this runs diff against master but the base might be different?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]