adding input parameter to _get_number_of_available_clients function #2942
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
| name: "branch name check" | |
| on: | |
| push: | |
| branches-ignore: | |
| - develop | |
| - master | |
| env: | |
| BRANCH_REGEX: '(?i)^((feature|github|dependabot|hotfix|bugfix|fix|bug|docs|refactor|chore)\/.+)|(release\/v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?))$' | |
| jobs: | |
| branch-name-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: branch name check | |
| run: | | |
| git rev-parse --abbrev-ref HEAD | grep -P "$BRANCH_REGEX" |