Repository navigation
Malware scan, assignment check and auto-merge bot - #11
Merged
Merged
Conversation
The same automation the Agrisettle repositories run: - malware-scan.yml and .github/scripts/malware_scan.py (with its self-tests) scan every PR's added code for malware and supply-chain patterns and publish the result as the "Malware scan" commit status. Silent unless it finds something. - require-assignment.yml closes a PR whose author is not assigned to the issue it links, as soon as it is opened. - auto-merge.yml merges a PR once its author is assigned, its checks pass and the malware scan is clean, and holds large out-of-scope PRs for a maintainer. Copied unchanged except the bot's check and scope lists for this repository, and its CodeRabbit request, which only runs where .coderabbit.yaml exists.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the same PR automation the Agrisettle repositories run.
malware-scan.yml,.github/scripts/malware_scan.pyand its 16 self-tests): scans every PR's added code for malware and supply-chain patterns, and publishes the result as theMalware scancommit status. It runs the base-branch copy throughpull_request_target, never PR code, and stays silent unless it finds something.require-assignment.yml): closes a PR as soon as it's opened if its author isn't assigned to the issue it links.auto-merge.yml): merges a PR once its author is assigned, the required checks pass and the scan is clean. It holds PRs that are both large and out of scope for a maintainer. On merge it posts "Merged — thanks for your contribution! 🎉".All four files are copied unchanged from Agrisettle/HarvestLock, except the bot's two lists, which name this repository's CI jobs and directories.