Skip to content

Commit

Permalink
Merge pull request #191 from tiobe/33012-retry_proxy
Browse files Browse the repository at this point in the history
Fixed the issue regarding using proxies with the previous implementation
  • Loading branch information
janssen-tiobe authored Oct 26, 2023
2 parents ccf8ba3 + a88d555 commit 0ed5e17
Show file tree
Hide file tree
Showing 38 changed files with 74,540 additions and 17,545 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ jobs:
- name: Jest
uses: actions/setup-node@v3
- run: npm ci
- run: npm run test-coverage
- run: npm run test:coverage
env:
INPUT_GITHUBTOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion .github/workflows/tics-analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
- run: npm ci
- run: npm run test-coverage
- run: npm run test:coverage
env:
INPUT_GITHUBTOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install and run TICSQSERVER
env:
TICSAUTHTOKEN: ${{ secrets.EBOIT_ANALYZER_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tics-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
- run: npm ci
- run: npm run test:coverage
env:
INPUT_GITHUBTOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: TICS GitHub Action
uses: tiobe/tics-github-action@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@tiobe:registry=https://artifacts.tiobe.com/repository/npm/
registry=https://registry.npmjs.org
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ The following inputs are available for this action:
| `postAnnotations` | Show the latest TICS annotations directly in the GitHub Pull Request review. | false |
| `postToConversation` | Post the summary to the conversation page of the pull request. Options are `true` (default) or `false`. | false |
| `pullRequestApproval` | Set the plugin to approve or deny a pull request, by default this is false. Options are `true` or `false`. Note that once a run that added a reviewer has been completed, this reviewer cannot be deleted from that pull request. (Always the case on versions between 2.0.0 and 2.5.0). | false |
| `retryCodes` | Status codes to retry api calls for. The default codes will be overwritten if this option is set. | false |
| `secretsFilter` | Comma-seperated list of extra secrets to mask in the console output. | false |
| `ticsAuthToken` | Authentication token to authorize the plugin when it connects to the TICS Viewer. | false |
| `tmpDir` | Location to store debug information. | false |
Expand All @@ -95,6 +96,7 @@ The following inputs are available for this action:
- To package the build to run run `npm run package`.
- To combine the last two steps run `npm run all`.
- There is Prettier auto-formatting available, run `npm run format` or enable format on save to automate the formatting.
- In order to run the tests the environment variable `INPUT_GITHUBTOKEN` needs to be set with a valid `GITHUB_TOKEN`

## Git hooks

Expand Down
3 changes: 3 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ inputs:
description: Set the plugin to approve or deny a pull request, by default this is false. Options are `true` or `false`. Note that once a run that added a reviewer has been completed, this reviewer cannot be deleted from that pull request. (Always the case on versions between 2.0.0 and 2.5.0).
required: false
default: false
retryCodes:
description: Status codes to retry api calls for. The default codes will be overwritten if this option is set.
required: false
secretsFilter:
description: Comma-seperated list of extra secrets to mask in the console output.
required: false
Expand Down
Loading

0 comments on commit 0ed5e17

Please sign in to comment.