Skip to content

Commit e989958

Browse files
authored
Merge pull request #1 from CodeAnt-AI/access-token-namechange
GITHUB_ACCESS_TOKEN to ACCESS_TOKEN_GITHUB
2 parents 9c7afb1 + aa0ab8a commit e989958

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Upload coverage to CodeAnt AI
4242
uses: CodeAnt-AI/codeant-coverage-action@v0.0.1
4343
with:
44-
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
44+
access_token: ${{ secrets.ACCESS_TOKEN_GITHUB }}
4545
coverage_file: coverage.xml
4646
```
4747
@@ -51,7 +51,7 @@ jobs:
5151
- name: Upload coverage to CodeAnt AI
5252
uses: CodeAnt-AI/codeant-coverage-action@v0.0.1
5353
with:
54-
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
54+
access_token: ${{ secrets.ACCESS_TOKEN_GITHUB }}
5555
coverage_file: coverage.json
5656
api_base: https://api.codeant.ai
5757
platform: github
@@ -109,7 +109,7 @@ Add your CodeAnt AI access token to your repository secrets:
109109
1. Go to your repository Settings
110110
2. Navigate to Secrets and variables → Actions
111111
3. Click "New repository secret"
112-
4. Name: `GITHUB_ACCESS_TOKEN`
112+
4. Name: `ACCESS_TOKEN_GITHUB`
113113
5. Value: Your CodeAnt AI access token
114114

115115
### 3. Configure Workflow
@@ -129,7 +129,7 @@ Add the action to your GitHub Actions workflow as shown in the usage examples ab
129129
Ensure the `coverage_file` path is correct and the file exists before running this action.
130130

131131
### Authentication failed
132-
Verify that your `GITHUB_ACCESS_TOKEN` is valid and has the necessary permissions.
132+
Verify that your `ACCESS_TOKEN_GITHUB` is valid and has the necessary permissions.
133133

134134
### Script execution failed
135135
Check that the CodeAnt AI API is accessible from your runner environment.

0 commit comments

Comments
 (0)