-
Notifications
You must be signed in to change notification settings - Fork 155
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
How exactly does safe-settings
handle situations that require human involvement?
#217
Comments
Hi, It adds a validation-error topic to the repository https://github.com/github/safe-settings/blob/main-enterprise/lib/validator.js#L36 Br, |
Hi. We use safe-settings in our org (@pezaio). So in summary:
Notes:
- name: Complete check run
uses: actions/github-script@v6.0.0
with:
script: |
await github.request('PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}', {
owner: context.repo.owner,
repo: '${{ github.event.inputs.repo-check-run }}',
check_run_id: ${{ github.event.inputs.check-run-id }},
status: 'completed',
conclusion: 'cancelled'});
github-token: ${{ steps.get_token.outputs.token }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've read through the README multiple times, but it's not very obvious to me what exactly
safe-settings
does for some validations which can't just be applied to a repository. For example, what happens if a repository name doesn't pass the validation regex? Doessafe-settings
open an issue on the repository? Does it fail a status check on a pull request to force compliance? How do repo maintainers get notified of the issue and how can they learn what's failing?Is there an example public org where this app is running on and could showcase how it works? Without understanding more of how this app works, I don't want to just install this on an organization.
The text was updated successfully, but these errors were encountered: