FociSolutions / github-foundations

A framework for managing your GitHub Enterprise account infrastructure.
MIT License
10 stars 1 forks source link

fix: python script is returning wrong org name #83

Closed bzarboni1 closed 4 months ago

bzarboni1 commented 4 months ago

ISSUE

[#82]

After committing the latest changes to the GH Actions python script, the GitHub Advanced Security (GHAS) checks are failing.

It appears that it is parsing the wrong part of the path to determine the Organization's name


ADDITIONALLY

[#84]

The on-push-and-pull.yaml workflow is failing on the terrafrom-plan-and-apply job:

GCP AUTH
Post job cleanup.
Error: google-github-actions/auth post failed with: failed to remove "/home/runner/work/organizations/organizations/gha-creds-3[2](https://github.com/foci-github-foundations/organizations/actions/runs/8969875353/job/24632150661#step:33:2)b6853cbe789bea.json": EACCES: permission denied, unlink '/home/runner/work/organizations/organizations/gha-creds-32b6853cbe789bea.json'

There have been no changes to the workflow, and the job began failing last week.