Skip to content

Commit bfdd778

Browse files
committed
fix: CICD Pipeline for Secret Key
1 parent 79b92ff commit bfdd778

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,21 @@ jobs:
7575
steps:
7676
- uses: actions/checkout@v4
7777

78-
- name: Lint ansible/
79-
uses: ansible/ansible-lint-action@v6
78+
- name: Set up Python
79+
uses: actions/setup-python@v5
8080
with:
81-
working-directory: ansible
81+
python-version: "3.12"
82+
83+
- name: Install ansible-lint
84+
run: pip install ansible-lint
85+
86+
- name: Lint ansible/
87+
working-directory: ansible
88+
run: ansible-lint
8289

8390
- name: Lint ansible-k8s/
84-
uses: ansible/ansible-lint-action@v6
85-
with:
86-
working-directory: ansible-k8s
91+
working-directory: ansible-k8s
92+
run: ansible-lint
8793

8894
lint-operator:
8995
name: Lint Operator (Go)
@@ -153,6 +159,7 @@ jobs:
153159
uses: gitleaks/gitleaks-action@v2
154160
env:
155161
GITHUB_TOKEN: ${{ secrets.TELEMETRYFLOW_GITHUB_TOKEN }}
162+
GITLEAKS_LICENSE: ${{ secrets.TELEMETRYFLOW_GITLEAKS_LICENSE }}
156163

157164
validate-docs:
158165
name: Validate Documentation

0 commit comments

Comments
 (0)