diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 4e5487290..37320263e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,11 +6,7 @@ labels: bug, needs triage assignees: trufflesecurity/product-eng --- -### Community Note - -* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request -* Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request -* If you are interested in working on this issue or have submitted a pull request, please leave a comment +Please Review the [Community Note](../community_note.md) before submitting ### TruffleHog Version diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index ee1224f1c..e1faa3a39 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -6,33 +6,27 @@ labels: enhancement, needs triage assignees: trufflesecurity/product-eng --- -### Community Note - -* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request -* Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request -* If you are interested in working on this issue or have submitted a pull request, please leave a comment - -### Description +Please Review the [Community Note](../community_note.md) before submitting +## Description -## Problem to be Addressed - - -## Description of the Preferred Solution - -## Additional Context +### Additional Context -### References +#### References * #0000 +---> + + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d87865182..4fc484d9d 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,3 +2,11 @@ Please create an issue to collect feedback prior to feature additions. Please also reference that issue in any PRs. If possible try to keep PRs scoped to one feature, and add tests for new features. --> + +### Description: +Explain the purpose of the PR. + +### Checklist: +* [ ] Tests passing (`make test-community`)? +* [ ] Lint passing (`make lint` this requires [golangci-lint](https://golangci-lint.run/usage/install/#local-installation))? + diff --git a/.github/community_note.md b/.github/community_note.md new file mode 100644 index 000000000..77ae41dab --- /dev/null +++ b/.github/community_note.md @@ -0,0 +1,7 @@ +## Community Note + +Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. + +Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request. + +If you are interested in working on this issue or have submitted a pull request, please leave a comment. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e2d916196..88ff3402a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,8 +52,8 @@ jobs: service_account: 'github-ci-external@trufflehog-testing.iam.gserviceaccount.com' - name: Test run: make test-detectors - continue-on-error: true - test-fork: + continue-on-error: true + test-community: if: ${{ github.event.pull_request.head.repo.fork }} runs-on: ubuntu-latest permissions: @@ -67,4 +67,4 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - name: Test - run: make test-forks + run: make test-community diff --git a/Makefile b/Makefile index 2740245bb..eacb889e0 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ test-race: test-detectors: CGO_ENABLED=0 go test -tags=detectors -timeout=5m $(shell go list ./... | grep pkg/detectors) -test-forks: +test-community: CGO_ENABLED=0 go test -timeout=5m $(shell go list ./... | grep -v /vendor/ | grep -v pkg/detectors | grep -v pkg/sources) bench: