Skip to content

Commit bedcc14

Browse files
fix(CI): Disabled functional tests for main branch (#70)
* Changed references to local refs for test-related workflows/actions * Updated comitter reference in the release
1 parent 5da6460 commit bedcc14

6 files changed

Lines changed: 48 additions & 8 deletions

File tree

.github/actions/helm-release-oci/action.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Helm Release OCI Core
23
description: Common Helm OCI release logic without provider-specific authentication
34

@@ -35,6 +36,30 @@ inputs:
3536
description: Helm chart version (overrides appVersion-derived version when provided)
3637
required: false
3738
default: ""
39+
commit_author:
40+
description: Commit author in "Name <email>" format for version bump commit
41+
required: false
42+
default: ""
43+
commit_user_name:
44+
description: Commit username for version bump commit
45+
required: false
46+
default: ""
47+
commit_user_email:
48+
description: Commit email for version bump commit
49+
required: false
50+
default: ""
51+
commiter_author:
52+
description: Deprecated alias for commit_author
53+
required: false
54+
default: ""
55+
commiter_user_name:
56+
description: Deprecated alias for commit_user_name
57+
required: false
58+
default: ""
59+
commiter_user_email:
60+
description: Deprecated alias for commit_user_email
61+
required: false
62+
default: ""
3863

3964
outputs:
4065
chart_name:
@@ -159,6 +184,9 @@ runs:
159184
uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7
160185
with:
161186
branch: ${{ inputs.bump_version_git_branch != '' && inputs.bump_version_git_branch || github.ref_name }}
187+
commit_user_name: ${{ inputs.commit_user_name != '' && inputs.commit_user_name || inputs.commiter_user_name }}
188+
commit_user_email: ${{ inputs.commit_user_email != '' && inputs.commit_user_email || inputs.commiter_user_email }}
189+
commit_author: ${{ inputs.commit_author != '' && inputs.commit_author || inputs.commiter_author }}
162190
commit_message: "Helm bumped up version and appVersion [skip ci]"
163191
file_pattern: "${{ inputs.chart_path }}/Chart.yaml"
164192

.github/workflows/create-release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ jobs:
6060
uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7
6161
with:
6262
branch: ${{ github.ref_name }}
63+
commit_user_name: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot]', steps.app-token.outputs.app-slug) || 'github-actions[bot]' }}
64+
commit_user_email: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot]@users.noreply.github.com', steps.app-token.outputs.app-slug) || 'github-actions[bot]@users.noreply.github.com' }}
65+
commit_author: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot] <{0}[bot]@users.noreply.github.com>', steps.app-token.outputs.app-slug) || 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>' }}
6366
commit_message: "chore: pin self reusable references to ${{ steps.tag_version.outputs.new_tag }} SHA [skip ci]"
6467
file_pattern: ".github/workflows/security-scan.yml .github/workflows/helm-release-github.yaml .github/workflows/helm-release-gar.yaml .github/workflows/helm-release-ecr.yaml"
6568

.github/workflows/helm-release-ecr.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134

135135
- name: Run OCI core
136136
id: core
137-
uses: naviteq/github-actions/.github/actions/helm-release-oci@b22353195d721a9b081039be12ec0ebb038dbe8c
137+
uses: naviteq/github-actions/.github/actions/helm-release-oci@f281e51c81dc501c721ff553402dc3b4eab8c68e
138138
with:
139139
chart_path: ${{ inputs.chart_path }}
140140
oci_registry: ${{ inputs.ecr_registry }}
@@ -145,3 +145,6 @@ jobs:
145145
lint_enabled: ${{ inputs.lint_enabled }}
146146
lint_values_file: ${{ inputs.lint_values_file }}
147147
chart_version: ${{ inputs.chart_version }}
148+
commit_user_name: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot]', steps.app-token.outputs.app-slug) || github.actor }}
149+
commit_user_email: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot]@users.noreply.github.com', steps.app-token.outputs.app-slug) || format('{0}@users.noreply.github.com', github.actor) }}
150+
commit_author: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot] <{0}[bot]@users.noreply.github.com>', steps.app-token.outputs.app-slug) || format('{0} <{0}@users.noreply.github.com>', github.actor) }}

.github/workflows/helm-release-gar.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139

140140
- name: Run OCI core
141141
id: core
142-
uses: naviteq/github-actions/.github/actions/helm-release-oci@b22353195d721a9b081039be12ec0ebb038dbe8c
142+
uses: naviteq/github-actions/.github/actions/helm-release-oci@f281e51c81dc501c721ff553402dc3b4eab8c68e
143143
with:
144144
chart_path: ${{ inputs.chart_path }}
145145
oci_registry: ${{ inputs.gar_registry }}
@@ -150,3 +150,6 @@ jobs:
150150
lint_enabled: ${{ inputs.lint_enabled }}
151151
lint_values_file: ${{ inputs.lint_values_file }}
152152
chart_version: ${{ inputs.chart_version }}
153+
commit_user_name: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot]', steps.app-token.outputs.app-slug) || github.actor }}
154+
commit_user_email: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot]@users.noreply.github.com', steps.app-token.outputs.app-slug) || format('{0}@users.noreply.github.com', github.actor) }}
155+
commit_author: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot] <{0}[bot]@users.noreply.github.com>', steps.app-token.outputs.app-slug) || format('{0} <{0}@users.noreply.github.com>', github.actor) }}

.github/workflows/helm-release-github.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113

114114
- name: Run OCI core
115115
id: core
116-
uses: naviteq/github-actions/.github/actions/helm-release-oci@b22353195d721a9b081039be12ec0ebb038dbe8c
116+
uses: naviteq/github-actions/.github/actions/helm-release-oci@f281e51c81dc501c721ff553402dc3b4eab8c68e
117117
with:
118118
chart_path: ${{ inputs.chart_path }}
119119
oci_registry: ${{ inputs.ghcr_registry }}
@@ -124,3 +124,6 @@ jobs:
124124
lint_enabled: ${{ inputs.lint_enabled }}
125125
lint_values_file: ${{ inputs.lint_values_file }}
126126
chart_version: ${{ inputs.chart_version }}
127+
commit_user_name: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot]', steps.app-token.outputs.app-slug) || github.actor }}
128+
commit_user_email: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot]@users.noreply.github.com', steps.app-token.outputs.app-slug) || format('{0}@users.noreply.github.com', github.actor) }}
129+
commit_author: ${{ steps.app-token.outputs.app-slug != '' && format('{0}[bot] <{0}[bot]@users.noreply.github.com>', steps.app-token.outputs.app-slug) || format('{0} <{0}@users.noreply.github.com>', github.actor) }}

.github/workflows/security-scan.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,27 +98,27 @@ permissions:
9898
jobs:
9999
codeql:
100100
name: CodeQL
101-
uses: naviteq/github-actions/.github/workflows/security-codeql.yml@b22353195d721a9b081039be12ec0ebb038dbe8c
101+
uses: ./.github/workflows/security-codeql.yml
102102
with:
103103
RUNNER: ${{ inputs.codeql_runner != '' && inputs.codeql_runner || inputs.runner }}
104104
language: ${{ inputs.codeql_language }}
105105

106106
dependency-review:
107107
name: Dependency Review
108108
if: ${{ github.event_name == 'pull_request' || github.event_name == 'pull_request_target' || github.event_name == 'merge_group' }}
109-
uses: naviteq/github-actions/.github/workflows/security-dependency-review.yml@b22353195d721a9b081039be12ec0ebb038dbe8c
109+
uses: ./.github/workflows/security-dependency-review.yml
110110
with:
111111
RUNNER: ${{ inputs.dependency_review_runner != '' && inputs.dependency_review_runner || inputs.runner }}
112112

113113
gitleaks:
114114
name: Gitleaks
115-
uses: naviteq/github-actions/.github/workflows/security-gitleaks.yml@b22353195d721a9b081039be12ec0ebb038dbe8c
115+
uses: ./.github/workflows/security-gitleaks.yml
116116
with:
117117
RUNNER: ${{ inputs.gitleaks_runner != '' && inputs.gitleaks_runner || inputs.runner }}
118118

119119
trivy:
120120
name: Trivy
121-
uses: naviteq/github-actions/.github/workflows/security-trivy.yml@b22353195d721a9b081039be12ec0ebb038dbe8c
121+
uses: ./.github/workflows/security-trivy.yml
122122
with:
123123
RUNNER: ${{ inputs.trivy_runner != '' && inputs.trivy_runner || inputs.runner }}
124124
scan_type: ${{ inputs.trivy_scan_type }}
@@ -131,7 +131,7 @@ jobs:
131131

132132
checkov:
133133
name: Checkov
134-
uses: naviteq/github-actions/.github/workflows/security-checkov.yaml@b22353195d721a9b081039be12ec0ebb038dbe8c
134+
uses: ./.github/workflows/security-checkov.yaml
135135
with:
136136
RUNNER: ${{ inputs.checkov_runner != '' && inputs.checkov_runner || inputs.runner }}
137137
directory: ${{ inputs.checkov_directory }}

0 commit comments

Comments
 (0)