Skip to content

Commit 75bc566

Browse files
committed
ci: spell out 'iff' as 'if and only if' in gate comment
Review feedback: 'iff' read as a typo. It is the logic shorthand for 'if and only if', but the comment exists to communicate, so spell it out. Signed-off-by: lelia <2418071+lelia@users.noreply.github.com>
1 parent ba79edb commit 75bc566

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/dependency-review.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,9 @@ jobs:
310310
NEEDS_JSON: ${{ toJSON(needs) }}
311311
run: |
312312
echo "$NEEDS_JSON"
313-
# Fail iff any needed job reported failure or cancelled; success and
314-
# skipped both pass. jq returns the count of offending results.
313+
# Fail if and only if a needed job reported failure or cancelled;
314+
# success and skipped both pass. jq returns the count of offending
315+
# results.
315316
bad="$(printf '%s' "$NEEDS_JSON" \
316317
| jq '[to_entries[] | select(.value.result == "failure" or .value.result == "cancelled")] | length')"
317318

0 commit comments

Comments
 (0)