advanced-security-compliance icon indicating copy to clipboard operation
advanced-security-compliance copied to clipboard

Policy file not found

Open jeffpaul opened this issue 3 years ago • 0 comments

Describe the bug I've got a sample license and policy file in a repo (see this current PR), but the action run is saying the repo can not be cloned. I'm trying to test this in a single repo in our org to validate that we can scan for licensing issues in dependencies, assuming I can get this to work in a single repo then I would likely move the policy file to our org's .github repo and reference that policy file in other repos but for now have the policy file in the same repo where the licensing action is running. Problem is I'm not sure if I'm referencing the policy file correctly or not. Also not sure after reading the auth docs if we've got a Personal Access Token set up correctly for the ACCESS_TOKEN in the action. So I'm hoping you can take a look at our PR and failed action run to recommend any changes to the licensing action, the policy file and its location, or our access token set up. Once we get it triaged, I'd be happy to help with a PR here to add to the docs for places where I got tripped up.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

jeffpaul avatar Apr 14 '22 17:04 jeffpaul