File tree Expand file tree Collapse file tree 3 files changed +17
-47
lines changed Expand file tree Collapse file tree 3 files changed +17
-47
lines changed Original file line number Diff line number Diff line change 25
25
git fetch origin ${{ github.event.pull_request.base.ref }} --depth=1
26
26
git diff --name-only origin/${{ github.event.pull_request.base.ref }} > changed_files.txt
27
27
28
+ - name : Filter only existing changed files
29
+ id : filter_existing
30
+ run : |
31
+ touch existing_files.txt
32
+ while IFS= read -r file; do
33
+ if [ -f "$file" ]; then
34
+ echo "$file" >> existing_files.txt
35
+ else
36
+ echo " $file file has been removed in your PR,hence skipping validation for the removed file"
37
+ fi
38
+ done < changed_files.txt
39
+
28
40
- name : Run validation script
29
41
run : |
30
- python .github/workflows/validate_interface_headers_incremental.py changed_files.txt
42
+ if [ -s existing_files.txt ]; then
43
+ python .github/workflows/validate_interface_headers_incremental.py existing_files.txt
44
+ else
45
+ echo "No valid changed files to validate."
46
+ fi
31
47
32
48
- name : Remove changed_files.txt
33
49
run : |
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -75,9 +75,6 @@ namespace Exchange {
75
75
ID_CONTENTDECRYPTION = ID_ENTOS_OFFSET + 0x030 ,
76
76
ID_CONTENTDECRYPTION_NOTIFICATION = ID_CONTENTDECRYPTION + 1 ,
77
77
78
- ID_PROVISIONING = ID_ENTOS_OFFSET + 0x040 ,
79
- ID_PROVISIONING_NOTIFICATION = ID_PROVISIONING + 1 ,
80
-
81
78
ID_CAPTURE = ID_ENTOS_OFFSET + 0x050 ,
82
79
83
80
ID_PACKAGER = ID_ENTOS_OFFSET + 0x060 ,
You can’t perform that action at this time.
0 commit comments