ci: add concurrency group to eval-on-pr workflow#4625
ci: add concurrency group to eval-on-pr workflow#4625mendral-agent wants to merge 1 commit intobrowser-use:mainfrom
Conversation
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| - | - | Generic High Entropy Secret | 3f9520c | examples/glazyr_benchmark.py | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Summary
concurrencyblock toeval-on-pr.ymlso that redundant evaluation runs are cancelled when new commits are pushed to the same PR.Problem
eval-on-pr.ymltriggers on everysynchronizeevent (new push to a PR) but has no concurrency group. If a contributor pushes multiple commits in quick succession, each push triggers a separate evaluation API call to the external platform, and none of the previous runs get cancelled.Every other CI workflow in this repo (
test.yaml,lint.yml,docker.yml,publish.yml) already uses a concurrency group withcancel-in-progress: true. This workflow was missing it.Fix
Added a
concurrencyblock using the same pattern as other workflows:This groups runs by PR number and cancels in-progress runs when a new one starts, preventing redundant evaluation API calls.
Verification
Note
Created by Mendral. Tag @mendral-agent with feedback or questions.
Summary by cubic
Add a concurrency group to
eval-on-pr.ymlso evaluation runs for the same PR cancel when new commits are pushed, avoiding redundant external API calls. Matches other workflows by grouping on PR number and settingcancel-in-progress: true.Written for commit 98ac1e5. Summary will update on new commits.