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

Additional CODENOTIFY file #30

Open
jcook-uptycs opened this issue Jul 27, 2023 · 0 comments
Open

Additional CODENOTIFY file #30

jcook-uptycs opened this issue Jul 27, 2023 · 0 comments

Comments

@jcook-uptycs
Copy link

I'm looking for a way to add additional code notify rules during the CI run.

We have a few rules that we want to apply to all our repos. And not have to add/modify the existing CODENOTIFY file on every repo.

I have tried appending these rules to the CODENOTIFY file in CI.

      - uses: actions/checkout@v3
      - name: Append to CODENOTIFY
        run: |
          touch CODENOTIFY
          echo **/* @test >> CODENOTIFY
          cat CODENOTIFY
      - uses: sourcegraph/[email protected]

While this does add the rule to the file, code notify doesn't use the rules from the current branch, but the base branch, so they are not used.

Any thoughts on how to add these rules in CI?

Thanks for this great tool.

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

No branches or pull requests

1 participant