Skip to content

Commit

Permalink
clean: Remove page "Why can't I configure post-commit hooks and integ…
Browse files Browse the repository at this point in the history
…rations?" (#837)

* clean: Remove page "Why can't I configure post-commit hooks and integrations?"

Moved the info from this page into a troubleshooting section in the
"Post-commit hooks" page under the repository integrations.

* clean: Link to migrate a legacy repository to a synced organization
  • Loading branch information
Paulo Ribeiro committed Sep 8, 2021
1 parent 2aadd0a commit 788d562
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.

This file was deleted.

11 changes: 10 additions & 1 deletion docs/repositories-configure/integrations/post-commit-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ Here's an example of how to configure your hooks on GitHub:

![Configuring a hook on GitHub](images/webhook-example-github.gif)

## Permissions to create post-commit hooks
## Why can't I configure post-commit hooks and integrations?

<!--NOTE
Most info in this section was moved from the page "Why can't I configure post-commit hooks and integrations?" so that the outdated troubleshooting page could be removed.
Make sure to clean up this section and the entire topic after the legacy manual organizations are fully discontinued.
-->

Have you added your repository manually (via URL)? In that case, Codacy won't allow the integration to be added, causing the issue with post-commit hooks. To get this sorted, you will have to [remove your repository and re-add it under a synced organization](../../faq/repositories/how-do-i-migrate-a-legacy-repository-to-a-synced-organization.md).

If you get an error when turning on the post-commit hook, please make sure that you have Admin rights on the GitHub repository.

If you're still unable to configure the integration, please contact us at <mailto:support@codacy.com>.
5 changes: 2 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ plugins:
"hc/en-us/requests/new.md": "https://codacy.zendesk.com/hc/en-us/requests/new"
"hc/en-us/articles/115000255385.md": "codacy-api/api-tokens.md"
"hc/en-us/articles/115000255385-API-Tokens.md": "codacy-api/api-tokens.md"
"hc/en-us/articles/115000282129.md": "faq/troubleshooting/why-cant-i-configure-post-commit-hooks-and-integrations.md"
"hc/en-us/articles/115000282129-Why-can-t-I-configure-post-commit-hooks-and-integrations-.md": "faq/troubleshooting/why-cant-i-configure-post-commit-hooks-and-integrations.md"
"hc/en-us/articles/115000282129.md": "repositories-configure/integrations/post-commit-hooks.md"
"hc/en-us/articles/115000282129-Why-can-t-I-configure-post-commit-hooks-and-integrations-.md": "repositories-configure/integrations/post-commit-hooks.md"
"hc/en-us/articles/115000488285.md": "repositories-configure/integrations/slack-integration.md"
"hc/en-us/articles/115000488285-Slack.md": "repositories-configure/integrations/slack-integration.md"
"hc/en-us/articles/115000566729.md": "repositories-configure/ignoring-files.md"
Expand Down Expand Up @@ -684,7 +684,6 @@ nav:
- faq/troubleshooting/why-did-codacy-stop-commenting-on-pull-requests.md
- faq/troubleshooting/why-arent-duplication-metrics-being-calculated.md
- faq/troubleshooting/why-isnt-my-public-repository-being-analyzed.md
- faq/troubleshooting/why-cant-i-configure-post-commit-hooks-and-integrations.md
- faq/troubleshooting/not-a-member-of-the-organization.md
- faq/troubleshooting/we-no-longer-have-access-to-this-repository.md
- faq/troubleshooting/why-is-my-file-over-150-kb-missing.md
Expand Down

0 comments on commit 788d562

Please sign in to comment.