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

Replace Hound CI with gh action #75

Open
ribose-jeffreylau opened this issue Feb 26, 2025 · 2 comments
Open

Replace Hound CI with gh action #75

ribose-jeffreylau opened this issue Feb 26, 2025 · 2 comments

Comments

@ribose-jeffreylau
Copy link
Contributor

Hound seems unmaintained.

Its linters are outdated: http://help.houndci.com/en/articles/2461415-supported-linters

There is a suggestion in one of the issues to use reclaim-the-stack/rubocop-action.

Updating should prevent scenarios like this, where Hound was unable to recognize newer linting rules: relaton/relaton#131 (review)

@ronaldtse
Copy link
Contributor

@ribose-jeffreylau so what's the "action" here? Remove Hound?

@ribose-jeffreylau
Copy link
Contributor Author

ribose-jeffreylau commented Feb 26, 2025

A possible next step is to do a pilot of reclaim-the-stack/rubocop-action on one of the repositories and see if it can replace Hound without errors about unrecognized cops.

.github/workflows/rubocop.yml:

name: Rubocop

on: pull_request

permissions:
  contents: read
  pull-requests: write

jobs:
  rubocop:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 1
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.1
      - uses: reclaim-the-stack/[email protected]

If it can, then we can replicate the Rubocop GH action YAML (using cimas) across all relevant repos. Then, finally, disable Hound in the Hound site or remove the Hound app from all GitHub organization's GitHub Apps page.

I can start with metanorma-cli and metanorma first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants