Skip to content

Commit

Permalink
ci: add some checks in the github action
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderli614 committed Dec 11, 2024
1 parent ff90aff commit 082c53b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/pr-title-checker-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"color": "B60205"
},
"CHECKS": {
"regexp": "^(feat|fix|test|refactor|chore|style|docs|perf|build|ci|revert)(!)?(\\(.*\\))?:.*",
"regexp": "^(feat|fix|test|refactor|chore|style|docs|perf|build|ci|revert|enhancement)(!)?(\\(.*\\))?:.*",
"ignoreLabels" : ["ignore-title"]
}
}
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: [push, pull_request]
jobs:
chart-test:
runs-on: ubuntu-latest
if: ${{ github.repository == 'GreptimeTeam/helm-charts' }}
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
jobs:
e2e:
runs-on: ubuntu-latest
if: ${{ github.repository == 'GreptimeTeam/helm-charts' }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
permissions:
contents: write
runs-on: ubuntu-latest
if: ${{ github.repository == 'GreptimeTeam/helm-charts' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:

release-charts-to-acr:
runs-on: ubuntu-latest
if: ${{ github.repository == 'GreptimeTeam/helm-charts' }}
if: ${{ inputs.release-charts-to-acr == 'true' || github.event_name == 'push' }}
steps:
- name: Check out code
Expand Down

0 comments on commit 082c53b

Please sign in to comment.