Skip to content

Commit 3349b7f

Browse files
authored
Remove use of tj-actions/changed-files (#747)
1 parent a4abf35 commit 3349b7f

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

.github/workflows/check-api-changes.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,15 @@ jobs:
5050
git add ./review/api/*.api.md
5151
git commit --allow-empty -m "API changes"
5252
53-
- name: Get API changes
54-
id: api-changed
55-
uses: tj-actions/[email protected]
56-
with:
57-
base_sha: 'HEAD~1'
58-
sha: 'HEAD'
59-
# only checks for modified files in this directory
60-
files: review/api/*.api.md
53+
# TODO: re-enable check for the following files:
54+
# review/api/*.api.md
55+
# - name: Get API changes
56+
# id: api-changed
6157

62-
- name: Fail if API are modified
63-
if: steps.api-changed.outputs.any_changed == 'true'
64-
run: |
65-
for file in ${{ steps.api-changed.outputs.all_changed_files }}; do
66-
echo "$file"
67-
done
68-
exit 1
58+
# - name: Fail if API are modified
59+
# if: steps.api-changed.outputs.any_changed == 'true'
60+
# run: |
61+
# for file in ${{ steps.api-changed.outputs.all_changed_files }}; do
62+
# echo "$file"
63+
# done
64+
# exit 1

0 commit comments

Comments
 (0)