Skip to content

Commit 9241dd6

Browse files
committed
ci: use exact match for systemroller instead of contains [citest_skip]
This guards against the possibility of a user with 'systemroller' as part of the username. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
1 parent 5a0994e commit 9241dd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/tft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
github.event.issue.pull_request
2323
&& contains(github.event.comment.body, '[citest]')
2424
&& (contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
25-
|| contains('systemroller', github.event.comment.user.login))
25+
|| github.event.comment.user.login == 'systemroller')
2626
runs-on: ubuntu-latest
2727
outputs:
2828
supported_platforms: ${{ steps.supported_platforms.outputs.supported_platforms }}

0 commit comments

Comments
 (0)