refactor: updates func IsIPInRange to handle IP range, CIDR, single IP #1092
This file contains 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
# Copyright 2023 Nutanix. All rights reserved. | |
# SPDX-License-Identifier: Apache-2.0 | |
name: "conventional-pr-title" | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: amannn/action-semantic-pull-request@v5 | |
with: | |
types: | | |
build | |
ci | |
docs | |
feat | |
fix | |
perf | |
refactor | |
release | |
revert | |
style | |
test | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |