TheAxZim / Whitesource-Scan-Action

A Github action which uses the Whitesource Unified Agent to scan a given repository. This Action will auto-resolve dependencies so no configuration file is required.
MIT License
8 stars 8 forks source link

WSS Userkey #10

Open dc185334 opened 1 year ago

dc185334 commented 1 year ago

As we can see here https://github.com/search?q=repo%3ATheAxZim%2FWhitesource-Scan-Action%20userkey&type=code, there is no such "with" parameter, but I'll try to define it via "env:" section for my step like this:

  - name: Mend
    uses: TheAxZim/Whitesource-Scan-Action@v1.0.0
    env:
      **WS_USERKEY: ${{ secrets.WS_USERKEY }}**
    with:
      wssUrl: https://whitesourcesoftware.com/agent
      apiKey: ${{ secrets.WS_API_KEY }}
      **userKey: ${{ secrets.WS_USERKEY }}**
      productName: 'One Pet-Project'
      projectName: 'pet-project'
dc185334 commented 1 year ago

Ok, yesterday I did make a fork, and it works the way it should. Can we ask an author to bring those changes for 1.0.1?

https://github.com/dc185334/Whitesource-Scan-Action