diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 3bb12ea..69c47da 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -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: diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index 4fac1e9..279ead6 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -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 @@ -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 @@ -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' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e31951..5a1a890 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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