Skip to content

Commit 634a51e

Browse files
authored
Merge pull request #237 from rdkcentral/RDKEMW-2842_IProvisioning_V1
IProvisioning.h Interface header not following coding guidelines
2 parents e0c9a17 + fe21936 commit 634a51e

File tree

3 files changed

+17
-47
lines changed

3 files changed

+17
-47
lines changed

.github/workflows/Validate_Interface_headers_incremental.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,25 @@ jobs:
2525
git fetch origin ${{ github.event.pull_request.base.ref }} --depth=1
2626
git diff --name-only origin/${{ github.event.pull_request.base.ref }} > changed_files.txt
2727
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+
2840
- name: Run validation script
2941
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
3147
3248
- name: Remove changed_files.txt
3349
run: |

apis/DeviceProvisioning/IProvisioning.h

Lines changed: 0 additions & 43 deletions
This file was deleted.

apis/Ids.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ namespace Exchange {
7575
ID_CONTENTDECRYPTION = ID_ENTOS_OFFSET + 0x030,
7676
ID_CONTENTDECRYPTION_NOTIFICATION = ID_CONTENTDECRYPTION + 1,
7777

78-
ID_PROVISIONING = ID_ENTOS_OFFSET + 0x040,
79-
ID_PROVISIONING_NOTIFICATION = ID_PROVISIONING + 1,
80-
8178
ID_CAPTURE = ID_ENTOS_OFFSET + 0x050,
8279

8380
ID_PACKAGER = ID_ENTOS_OFFSET + 0x060,

0 commit comments

Comments
 (0)