Skip to content

Commit

Permalink
Merge pull request #10 from basiqio-oss/DX-892-basiq-docs-branch-nami…
Browse files Browse the repository at this point in the history
…ng-validation

DX-892 Fixed Branch naming Validation
  • Loading branch information
Cuscal-Ashman authored Jan 27, 2025
2 parents 00f7656 + 1aa0783 commit e6ae594
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
contents: write
pull-requests: write

runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}

steps:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
pr-lint:
name: PR Title Linting
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
# Validate PR title format
- name: Lint PR Title
Expand All @@ -20,14 +20,14 @@ jobs:

branch-naming-rules:
name: Branch Naming Validation
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: pr-lint
steps:
# Validate branch naming conventions
- name: Lint Branch Naming
uses: deepakputhraya/action-branch-name@master
with:
regex: '^(DX|DSO|Bump).+'
regex: '^(DX|DSO|Bump|dependabot/.+|feature/.+|hotfix/.+|release/.+).+'
ignore: master,main
min_length: 2
max_length: 100
Expand Down Expand Up @@ -62,10 +62,8 @@ jobs:
warnings=1
fi
done
# If warnings found, store it in an environment variable
echo "warnings=$warnings" >> $GITHUB_ENV
# Send Slack notification if warnings exist
- name: Send Slack Notification if Warnings Exist
if: env.warnings == '1'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
DeployProd:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout this repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.5
Expand Down

0 comments on commit e6ae594

Please sign in to comment.