Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TT-13136] Adjust concurrency group to CI tests, extend to all workfl…
…ows (TykTechnologies#6560) ### **User description** <details open> <summary><a href="https://tyktech.atlassian.net/browse/TT-13136" title="TT-13136" target="_blank">TT-13136</a></summary> <br /> <table> <tr> <th>Summary</th> <td>If a PR is rebased, or new commits are added, cancel previous runs</td> </tr> <tr> <th>Type</th> <td> <img alt="Task" src="https://tyktech.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium" /> Task </td> </tr> <tr> <th>Status</th> <td>In Dev</td> </tr> <tr> <th>Points</th> <td>N/A</td> </tr> <tr> <th>Labels</th> <td>-</td> </tr> </table> </details> <!-- do not remove this marker as it will break jira-lint's functionality. added_by_jira_lint --> --- https://tyktech.atlassian.net/browse/TT-13136 ___ ### **PR Type** enhancement, configuration changes ___ ### **Description** - Added concurrency group settings to multiple workflows to manage job execution and cancellation. - Introduced a new CI lint workflow with concurrency settings and job definitions for godoc and jira. - Removed outdated workflows for API changes, JIRA lint, and OAS documentation updates. - Updated Go version to stable in the Swagger lint workflow. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>ci-tests.yml</strong><dd><code>Update concurrency settings in CI tests workflow</code> </dd></summary> <hr> .github/workflows/ci-tests.yml <li>Updated concurrency group settings for CI tests.<br> <li> Changed the method to cancel in-progress jobs based on event type.<br> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6560/files#diff-03609cb60b0c6e92fb771eb8787d6722b8c31ca4c03eabc788e147acd8c6fb43">+2/-6</a> </td> </tr> <tr> <td> <details> <summary><strong>codeql-analysis.yml</strong><dd><code>Add concurrency settings to CodeQL analysis workflow</code> </dd></summary> <hr> .github/workflows/codeql-analysis.yml <li>Added concurrency group settings.<br> <li> Enabled cancellation of in-progress jobs for pull requests.<br> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6560/files#diff-63bd641104d10e25f141d518a16b22a151d125e12701df2f9e79734b23b90188">+4/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>lint-swagger.yml</strong><dd><code>Add concurrency and update Go version in Swagger lint workflow</code></dd></summary> <hr> .github/workflows/lint-swagger.yml <li>Added concurrency group settings.<br> <li> Enabled cancellation of in-progress jobs for pull requests.<br> <li> Changed Go version to stable.<br> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6560/files#diff-211d7beb5c2247bdb14cd6aaa6da2feb35176618e91541850a5f4eebf736990d">+5/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>lint.yml</strong><dd><code>Introduce new CI lint workflow with concurrency settings</code> </dd></summary> <hr> .github/workflows/lint.yml <li>Added new CI lint workflow.<br> <li> Included concurrency settings and job definitions for godoc and jira.<br> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6560/files#diff-107e910e9f2ebfb9a741fa10b2aa7100cc1fc4f5f3aca2dfe78b905cbd73c0d2">+33/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>plugin-compiler-build.yml</strong><dd><code>Add concurrency settings to plugin compiler build workflow</code></dd></summary> <hr> .github/workflows/plugin-compiler-build.yml <li>Added concurrency group settings.<br> <li> Enabled cancellation of in-progress jobs for pull requests.<br> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6560/files#diff-f3a95a900eb0ac23af6314e9cdea29fa16af0a9bcb61793a83a32ff13d4c4e79">+4/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>release.yml</strong><dd><code>Add concurrency settings to release workflow</code> </dd></summary> <hr> .github/workflows/release.yml <li>Added concurrency group settings.<br> <li> Enabled cancellation of in-progress jobs for pull requests.<br> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6560/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34">+5/-0</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions --------- Co-authored-by: Tit Petric <[email protected]>
- Loading branch information