Closed Carsten87 closed 7 months ago
I can confirm. We're running into the same problem.
Looking at the implementation of tools-parameter.ts
there seems to be no override possible, even though the Synopsys Bridge exposes the setting github.api.url
. I would be fine with an additional optional input parameter to the action itself which defaults to "GitHub", but allows me to override with our GHES domai.
Actually there is no need for a custom input parameter the API URL is already provided out-of-the-box in GitHub actions context by the env variable GITHUB_API_URL.
A PR #115 was opened to address this issue.
We are working on it and fix will be available sometime next month.
We are working on it and fix will be available sometime next month.
Nice 👍 . Thanks for the feedback
Hello @tvcsantos,
I just tried to verify your fix, but am running in a new problem:
[GitHub Commenter] ERROR: Not Found: Received unexpected response status code '404 Not Found' from GitHub API
What settings did you run this so it worked? I didn't change anything beside using your PR's code.
Hello @tvcsantos, I just tried to verify your fix, but am running in a new problem:
[GitHub Commenter] ERROR: Not Found: Received unexpected response status code '404 Not Found' from GitHub API
What settings did you run this so it worked? I didn't change anything beside using your PR's code.
Hey @ToWi87, we are facing the same problem. This PR only addresses the URL change. Since synopsys uses bridge to do the remaining steps and bridge is a blackbox and I don't have access to the code I was not able to investigate further :(.
We are working on it and fix will be available sometime next month.
Hello, by any chance can you please share when this might be available? Thanks
We are working on it and fix will be available sometime next month.
Hello again, we are already mid September, any ETA here? @spurohitsynopsys (sorry for tagging but no one seems to reply here)
@gonmmarques - Apologies for the delay. We couldn't look into or verify this issue during our past release due to some infrastructure issue on our end and also other priority items. We will look into this and keep you posted.
Hello again,
after seeing this: https://github.com/synopsys-sig/synopsys-action/releases/tag/v1.5.0
I briefly tried to run this with blackduck_automation_prcomment: true
Here my feedback:
Run synopsys-sig/synopsys-action@v1.5.0
Synopsys Action started...
Blackduck Automation comment is enabled
Error: Workflow failed! Missing required github token for fix pull request/automation comment
And then the whole step
is killed.
My GH Action config is (as of https://sig-product-docs.synopsys.com/bundle/bridge/page/documentation/c_additional-github-parameters.html) set to
Can someone confirm this?
update from myself:
with:
github_token: ${{ github.token }} (instead of secrets.GITHUB_TOKEN as mentioned in the docs)
I am back to my initial 404
report: https://github.com/synopsys-sig/synopsys-action/issues/111#issuecomment-1684027951
The fix is not yet available, we are working with our internal teams to prioritise it.
Any updates here? May be there is already a prediction for the release date of the fix, so that we can better plan further steps? What is the official workaround? Using Detect Rapid Scan Action?
Any updates here? May be there is already a prediction for the release date of the fix, so that we can better plan further steps? What is the official workaround? Using Detect Rapid Scan Action?
I can confirm that it works on my end now.
How can I configure the synopsys-action to work with GitHub Enterprise? If I set
blackduck_automation_prcomment: true
the action tries to communicate with github.com instead of the GH Enterprise instance the action is running on which obviously fails.I think the action itself should figure out where it is running and select the appropriate API endpoint accordingly.