Skip to content

Commit 5736472

Browse files
CODEANT_ACCESS_TOKEN TO GITHUB_ACCESS_TOKEN
1 parent cb27de8 commit 5736472

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
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.CODEANT_ACCESS_TOKEN }}
44+
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
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.CODEANT_ACCESS_TOKEN }}
54+
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
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: `CODEANT_ACCESS_TOKEN`
112+
4. Name: `GITHUB_ACCESS_TOKEN`
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 `CODEANT_ACCESS_TOKEN` is valid and has the necessary permissions.
132+
Verify that your `GITHUB_ACCESS_TOKEN` 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.

README_LOCAL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ jobs:
7575
- name: Test coverage upload
7676
uses: ./
7777
with:
78-
access_token: ${{ secrets.CODEANT_ACCESS_TOKEN }}
78+
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
7979
coverage_file: coverage.xml
8080
```
8181
8282
Run the action locally:
8383
8484
```bash
85-
act -j test --secret CODEANT_ACCESS_TOKEN=your_token_here
85+
act -j test --secret GITHUB_ACCESS_TOKEN=your_token_here
8686
```
8787

8888
### 3. Test in a Real Repository
@@ -96,7 +96,7 @@ act -j test --secret CODEANT_ACCESS_TOKEN=your_token_here
9696
```yaml
9797
- uses: CodeAnt-AI/codeant-coverage-action@v0.0.1
9898
with:
99-
access_token: ${{ secrets.CODEANT_ACCESS_TOKEN }}
99+
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
100100
coverage_file: coverage.xml
101101
```
102102
@@ -193,7 +193,7 @@ Set the `ACTIONS_STEP_DEBUG` secret to `true` in your repository:
193193
- name: Upload coverage
194194
uses: ./
195195
with:
196-
access_token: ${{ secrets.CODEANT_ACCESS_TOKEN }}
196+
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
197197
coverage_file: coverage.xml
198198
env:
199199
ACTIONS_STEP_DEBUG: true
@@ -253,4 +253,4 @@ bash upload_coverage.sh \
253253

254254
For questions or issues during development:
255255
- Open an issue in the repository
256-
- Contact: dev@codeant.ai
256+
- Contact: chinmay@codeant.ai

0 commit comments

Comments
 (0)