Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov committed Feb 12, 2025
1 parent 0dd24f4 commit e609777
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,7 @@ jobs:
shell: bash
run: |
error_message="${{ steps.always-comment-missing-github-token.outputs.error }}"
expected_message="Scan failed (exit code: 0).
To post scan results as a PR comment, please provide the github-token \
in the action inputs."
expected_message='"always-comment" parameter requires "github-token" to be set.'
if [[ ! "$error_message" =~ "$expected_message" ]]; then
echo "Expected error message to contain: $expected_message"
Expand Down

0 comments on commit e609777

Please sign in to comment.