Skip to content

Commit 08c3f9d

Browse files
Update codacybootstrap.yml
1 parent bf20aa1 commit 08c3f9d

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/codacybootstrap.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ jobs:
99
steps:
1010
- name: Fetch all outstanding Codacy issues
1111
run: |
12-
curl -s "https://app.codacy.com/api/v3/analysis/organizations/gh/TransactionProcessing/repositories/Shared/issues/search" \
13-
-H "api-token: ${{ secrets.CODACY_API_TOKEN }}" \
12+
curl --request POST \
13+
--url https://app.codacy.com/api/v3/analysis/organizations/gh/<org>/repositories/<repo>/issues/search \
14+
--header "api-token: ${{ secrets.CODACY_API_TOKEN }}" \
15+
--header "content-type: application/json" \
16+
--data '{
17+
"levels": ["Error", "Warning"]
18+
}' \
1419
-o codacy_issues.json
1520
1621
cat codacy_issues.json

0 commit comments

Comments
 (0)