We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf20aa1 commit 08c3f9dCopy full SHA for 08c3f9d
1 file changed
.github/workflows/codacybootstrap.yml
@@ -9,8 +9,13 @@ jobs:
9
steps:
10
- name: Fetch all outstanding Codacy issues
11
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 }}" \
+ curl --request POST \
+ --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
+ }' \
19
-o codacy_issues.json
20
21
cat codacy_issues.json
0 commit comments