Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding permission to read repo on flux-diff workflow (mandatory for private repos) #946

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Adding permission to read repo on flux-diff workflow (mandatory for private repos) #946

merged 1 commit into from
Sep 18, 2023

Conversation

janpfischer
Copy link
Contributor

If you want to use the flux-diff workflow on a private home-ops repository the added permission is needed. If it is not given the Diff Resources step would fail on Fetching the repository with the following error message:

remote: Repository not found.
Error: fatal: repository 'https://github.com/janpfischer/home-ops/' not found

Adding this permission allows the job to read the content of the private repo. For public repo's this should not make any difference.

@github-actions github-actions bot added the area/github Changes made in the github directory label Sep 18, 2023
@onedr0p
Copy link
Owner

onedr0p commented Sep 18, 2023

Thanks!

@onedr0p onedr0p merged commit 225ee0b into onedr0p:main Sep 18, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/github Changes made in the github directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants