Comments (3)
Looks like we need to add a (app: Probot).on("push") filtered by a regex against a regex configured in the config file. Then a new function will be needed similar to scanPullRequest ("scanBranch" ?) will be needed, which builds from the result of Octokit.branch.
from repo-automation-bots.
For scanning a PR, I don't see anything in the code restricting which base branch it runs against.
For the nightly scanning of the repo, that could be something that we add configuration for and run on multiple branches.
from repo-automation-bots.
For scanning a PR, I don't see anything in the code restricting which base branch it runs against.
I agree! so it comes down to a question of triggering, right?
As best I can tell, GH Merge Queue (MQ) will create a branch conforming to the regex: gh-readonly-queue/main/pr-.*
when the user presses the "Merge When Read" button (which replaces the "Squash and Merge" button, when MQ is activated on the branch)
This new branch adds a new commit to the PR feature branch, but I don't think it emits any events that the snippet-bot (scanning the PR) would be able to trigger on. Also, snippet-bot would need to figure out which commit (HEAD of the new regex-conforming branch) to verify.
from repo-automation-bots.
Related Issues (20)
- owlbot-bootstrapper: bad source-link URL HOT 1
- bug(owl-bot): Owlbot copy code PRs haven't been opened since September 21 HOT 1
- Query request(auto-approve): Request for available/possible customisation to use auto-approve bot HOT 2
- [OwlBot] OwlBot opens an issue if a library is removed from a monorepo
- [auto-approve] Docker deps not matching built-in regex
- Owlbot Copy error HOT 6
- release-please bot is being triggered when merging it's own PRs HOT 2
- Error: Changes must be made through a pull request.
- allow creation of a single automated PR per rep rather than multiple analogous PRs HOT 1
- Snippet Bot: Snippet check fails on first run only HOT 1
- auto-approve bot: The bot isn't approving PR as intended. HOT 2
- Comment on viable auto-approve candidates if they were not approved
- can't set repoToClone to a local directory
- Request access to repo-automation-bots project HOT 1
- LINT_PATHS in `noxfile.py` doesn't include `vertexai` HOT 1
- Release-please is not running on gax-nodejs HOT 2
- I can no longer access owlbot logs on PRs HOT 1
- Critical: Security Risks Identified in Automation Bots with node:14-slim Dockerfile Base Image
- bug(owlbot): `owlbot:run` label does not trigger owlbot; `owlbot:run` label is not removed HOT 5
- release-please creates pull requests that have already been merged
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repo-automation-bots.