Skip to content

Commit 789a9b4

Browse files
committed
fix; workflow bugs
1 parent 744fb03 commit 789a9b4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/reqs-sync.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@ jobs:
3535
- name: Install Poetry
3636
run: pip install poetry
3737

38-
- name: Check if requirements.txt needs update
38+
- name: Detect whether requirements.txt has change
3939
id: detect
4040
run: |
4141
output=$(make requirements.txt 2>&1)
4242
echo "$output"
4343
44-
# Check if make indicates the file is up to date
44+
# Check whether Make output suggests file is up to date
4545
if echo "$output" | grep -qi "up to date\|up-to-date\|already up to date"; then
46-
echo "needs_update=false" >> $GITHUB_OUTPUT
47-
echo "::notice::requirements.txt is already up to date"
46+
echo "has_change=false" >> $GITHUB_OUTPUT
47+
echo "::notice::requirements.txt seems up to date"
4848
else
49-
echo "needs_update=true" >> $GITHUB_OUTPUT
49+
echo "has_change=true" >> $GITHUB_OUTPUT
5050
fi
5151
5252
commit-delta:

0 commit comments

Comments
 (0)