diff --git a/.github/pr-title-checker-config.json b/.github/pr-title-checker-config.json index 0d6efe7..2d5d137 100644 --- a/.github/pr-title-checker-config.json +++ b/.github/pr-title-checker-config.json @@ -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"] } } diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 413f4c9..f28691e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index c8573bd..3f1868a 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -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 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 899ab33..f04a8b2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -45,7 +46,7 @@ jobs: release-charts-to-acr: runs-on: ubuntu-latest - if: ${{ inputs.release-charts-to-acr == 'true' || github.event_name == 'push' }} + if: ${{ github.repository == 'GreptimeTeam/helm-charts' && (inputs.release-charts-to-acr == 'true' || github.event_name == 'push') }} steps: - name: Check out code uses: actions/checkout@v4