Describe the bug
When using --scm-base-url, the URL of a finding should reference that value. However, the domain appears to be hard-coded to github.com.
To Reproduce
$ ./poutine analyze_org corp --scm-base-url="https://github.contoso.com/" --token="..."
Rule: If condition always evaluates to true
Severity: error
Description: GitHub Actions expressions used in if condition of jobs or steps
must not contain extra characters or spaces.
Otherwise, the condition is always true.
Documentation: https://boostsecurityio.github.io/poutine/rules/if_always_true
+-----------------------------+----------------------------------+-----------------------------------------------------------------------------------------------+
| REPOSITORY | DETAILS | URL |
+-----------------------------+----------------------------------+-----------------------------------------------------------------------------------------------+
| corp/repo1 | .github/workflows/reviewdog.yaml | https://github.com/corp/repo1/tree/HEAD/.github/workflows/reviewdog.yaml#L51 |
| | Job: run | |
| | Step: 2 | |
| | | |
+-----------------------------+----------------------------------+-----------------------------------------------------------------------------------------------+
Describe the bug When using
--scm-base-url
, theURL
of a finding should reference that value. However, the domain appears to be hard-coded togithub.com
.To Reproduce