File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
providers/openfeature-provider-flagd/tests/e2e Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 25
25
env :
26
26
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
27
28
- - uses : marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2
28
+ - uses : marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
29
29
# When the previous steps fails, the workflow would stop. By adding this
30
30
# condition you can continue the execution with the populated error message.
31
31
if : always() && (steps.lint_pr_title.outputs.error_message != null)
44
44
45
45
# Delete a previous comment when the issue has been resolved
46
46
- if : ${{ steps.lint_pr_title.outputs.error_message == null }}
47
- uses : marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2
47
+ uses : marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
48
48
with :
49
49
header : pr-title-lint-error
50
50
delete : true
Original file line number Diff line number Diff line change 1
1
default_stages : [commit]
2
2
repos :
3
3
- repo : https://github.com/astral-sh/ruff-pre-commit
4
- rev : v0.8.6
4
+ rev : v0.9.2
5
5
hooks :
6
6
- id : ruff
7
7
args : [--fix]
Original file line number Diff line number Diff line change @@ -594,9 +594,9 @@ def assert_handlers(
594
594
595
595
logging .info (f"asserting num({ event_type } ) >= { num_events } : { handles } " )
596
596
actual_num_events = sum ([h ["type" ] == event_type for h in handles ])
597
- assert (
598
- num_events <= actual_num_events
599
- ), f"Expected { num_events } but got { actual_num_events } : { handles } "
597
+ assert num_events <= actual_num_events , (
598
+ f"Expected { num_events } but got { actual_num_events } : { handles } "
599
+ )
600
600
601
601
602
602
@then (
You can’t perform that action at this time.
0 commit comments