Azure / manage-azure-policy

GiHub Action to manage Azure policy from GitHub workflows
MIT License
56 stars 25 forks source link

Update api version to 2020-09-01 #62

Closed sbugalski closed 3 years ago

sbugalski commented 3 years ago

Related to https://github.com/Azure/manage-azure-policy/issues/61

sbugalski commented 3 years ago

Thanks for unlocking that. Any idea why Trigger test run failed?

Can we rerun it?

Run bash ./IntegrationTests/.github/workflows/InvokeL2RepoDispatchEvent.sh  e08789c5be03f418bcfead34e7546963cc2c2d62 Azure/manage-azure-policy 62 releases/update-api-version main            
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   388  100    90  100   298   1666   5518 --:--:-- --:--:-- --:--:--  7185
Triggering integration tests failed with: '{
  "message": "Bad credentials",
  "documentation_url": "https://docs.github.com/rest"
}'
Error: Process completed with exit code 1.
timja commented 3 years ago

Credentials are likely not available from forks, someone with write access will need to submit it as an origin branch PR I assume

tauhid621 commented 3 years ago

@timja is correct. We need secrets to trigger the checks. This will not work in case of fork.

sbugalski commented 3 years ago

Solved with https://github.com/Azure/manage-azure-policy/pull/68