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

Move CODEOWNERS so it has an effect #66

Merged
merged 2 commits into from
Jul 26, 2023
Merged

Conversation

akx
Copy link
Contributor

@akx akx commented Jul 26, 2023

Quoth the documentation:

To use a CODEOWNERS file, create a new file called CODEOWNERS in the root, docs/, or .github/ directory of the repository, in the branch where you'd like to add the code owners.

A CODEOWNERS in .github/workflows has no effect AFAIU.

@palp
Copy link
Member

palp commented Jul 26, 2023

Quoth the documentation:

To use a CODEOWNERS file, create a new file called CODEOWNERS in the root, docs/, or .github/ directory of the repository, in the branch where you'd like to add the code owners.

A CODEOWNERS in .github/workflows has no effect AFAIU.

Yep, this was misplaced, thanks. Intended to be in .github but root is fine.

palp
palp previously approved these changes Jul 26, 2023
@akx
Copy link
Contributor Author

akx commented Jul 26, 2023

@palp Inference tests fail because externals such as yours truly don't have access to secrets (as is well and proper), so run: ln -s ${{secrets.SGM_CHECKPOINTS_PATH}} checkpoints ends up being just ln -s checkpoints:

Screenshot 2023-07-26 at 18 19 35

For now, you may want to make the inference tests only run when the secret is available, with e.g.

if: github.repository == 'stability-ai/generative-models' && secrets.SGM_CHECKPOINTS_PATH

(syntax might not be exactly that, can't remember) in the job's if:.

@palp
Copy link
Member

palp commented Jul 26, 2023

@palp Inference tests fail because externals such as yours truly don't have access to secrets (as is well and proper), so run: ln -s ${{secrets.SGM_CHECKPOINTS_PATH}} checkpoints ends up being just ln -s checkpoints:

Screenshot 2023-07-26 at 18 19 35

For now, you may want to make the inference tests only run when the secret is available, with e.g.

if: github.repository == 'stability-ai/generative-models' && secrets.SGM_CHECKPOINTS_PATH

(syntax might not be exactly that, can't remember) in the job's if:.

This doesn't actually need to be secret, so now it's in vars; want to swap it here to make sure it works?

@akx
Copy link
Contributor Author

akx commented Jul 26, 2023

@palp

This doesn't actually need to be secret, so now it's in vars; want to swap it here to make sure it works?

Erm..? (reference on main)

run: ln -s ${{secrets.SGM_CHECKPOINTS_PATH}} checkpoints

@palp
Copy link
Member

palp commented Jul 26, 2023

@palp

This doesn't actually need to be secret, so now it's in vars; want to swap it here to make sure it works?

Erm..? (reference on main)

run: ln -s ${{secrets.SGM_CHECKPOINTS_PATH}} checkpoints

run: ln -s ${{vars.SGM_CHECKPOINTS_PATH}} checkpoints should work instead now

@akx
Copy link
Contributor Author

akx commented Jul 26, 2023

@palp No dice on the CI change, same result.

@palp
Copy link
Member

palp commented Jul 26, 2023

@palp No dice on the CI change, same result.

Ok, we can merge this, I'll deal with the CI issue.

@palp palp merged commit c60c091 into Stability-AI:main Jul 26, 2023
5 of 6 checks passed
LinearFalcon pushed a commit to LinearFalcon/generative-models that referenced this pull request Jul 6, 2024
* Move CODEOWNERS so it has an effect

* CI: use vars.SGM_CHECKPOINTS_PATH
SevanBrodjian pushed a commit to SevanBrodjian/sd-latent-exploration that referenced this pull request Aug 12, 2024
* Move CODEOWNERS so it has an effect

* CI: use vars.SGM_CHECKPOINTS_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants