Closed titpetric closed 2 months ago
Knock Knock! ๐
Just thought I'd let you know that your PR title and story title look quite different. PR titles that closely resemble the story title make it easier for reviewers to understand the context of the PR.
An easy-to-understand PR title a day makes the reviewer review away! ๐โก๏ธ
Story Title | If a PR is rebased, or new commits are added, cancel previous runs |
---|---|
PR Title | [TT-13136] Adjust concurrency group to CI tests, extend to all workflows |
Check out this guide to learn more about PR best-practices.
API Changes
no api changes detected
โฑ๏ธ Estimated effort to review: 2 ๐ต๐ตโชโชโช |
๐งช No relevant tests |
๐ No security concerns identified |
โก Key issues to review Concurrency Group Change The concurrency group has been changed from a PR or commit-specific identifier to a more generic workflow and ref-based identifier. This might lead to unintended cancellations of jobs across different PRs if they share the same branch name or ref. Go Version Update The Go version has been updated to 'stable'. It's important to ensure that this version aligns with the project requirements and does not introduce compatibility issues. |
Category | Suggestion | Score |
Enhancement |
Use the branch name instead of the full ref path in the concurrency group___ **Replace the use of${{ github.ref }} with ${{ github.head_ref }} in the concurrency group to ensure that the branch name is correctly used instead of the full ref path.** [.github/workflows/ci-tests.yml [21]](https://github.com/TykTechnologies/tyk/pull/6560/files#diff-03609cb60b0c6e92fb771eb8787d6722b8c31ca4c03eabc788e147acd8c6fb43R21-R21) ```diff -group: ${{ github.workflow }}-${{ github.ref }} +group: ${{ github.workflow }}-${{ github.head_ref }} ``` Suggestion importance[1-10]: 8Why: The suggestion to replace `${{ github.ref }}` with `${{ github.head_ref }}` is valid as it ensures that the branch name is used instead of the full ref path, which can improve clarity and prevent potential issues with concurrency groups in workflows triggered by pull requests. This change enhances the accuracy of the concurrency group definition. | 8 |
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
User description
TT-13136
https://tyktech.atlassian.net/browse/TT-13136
PR Type
enhancement, configuration changes
Description
Changes walkthrough ๐
ci-tests.yml
Update concurrency settings in CI tests workflow
.github/workflows/ci-tests.yml
codeql-analysis.yml
Add concurrency settings to CodeQL analysis workflow
.github/workflows/codeql-analysis.yml
lint-swagger.yml
Add concurrency and update Go version in Swagger lint workflow
.github/workflows/lint-swagger.yml
lint.yml
Introduce new CI lint workflow with concurrency settings
.github/workflows/lint.yml
plugin-compiler-build.yml
Add concurrency settings to plugin compiler build workflow
.github/workflows/plugin-compiler-build.yml
release.yml
Add concurrency settings to release workflow
.github/workflows/release.yml