Skip to content

Commit 07505c4

Browse files
authored
Merge pull request #1 from CodeAnt-AI/access-token-namechange
GITHUB_ACCESS_TOKEN to ACCESS_TOKEN_GITHUB
2 parents c4f148d + a7e956e commit 07505c4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Run CodeAnt CI Scan
4040
uses: CodeAnt-AI/codeant-ci-scan-action@v0.0.1
4141
with:
42-
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
42+
access_token: ${{ secrets.ACCESS_TOKEN_GITHUB }}
4343
```
4444
4545
### Advanced Usage
@@ -50,7 +50,7 @@ Customize the scan with additional options:
5050
- name: Run CodeAnt CI Scan
5151
uses: CodeAnt-AI/codeant-ci-scan-action@v0.0.1
5252
with:
53-
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
53+
access_token: ${{ secrets.ACCESS_TOKEN_GITHUB }}
5454
api_base: 'https://api.codeant.ai'
5555
include_paths: 'src/,lib/'
5656
exclude_paths: 'test/,docs/'
@@ -79,7 +79,7 @@ Customize the scan with additional options:
7979
1. Go to your repository's Settings
8080
2. Navigate to Secrets and variables → Actions
8181
3. Click "New repository secret"
82-
4. Name: `GITHUB_ACCESS_TOKEN`
82+
4. Name: `ACCESS_TOKEN_GITHUB`
8383
5. Value: Paste your CodeAnt access token
8484
6. Click "Add secret"
8585

@@ -116,7 +116,7 @@ jobs:
116116
- uses: actions/checkout@v3
117117
- uses: CodeAnt-AI/codeant-ci-scan-action@v0.0.1
118118
with:
119-
access_token: ${{ secrets.CODEANT_ACCESS_TOKEN }}
119+
access_token: ${{ secrets.ACCESS_TOKEN_GITHUB }}
120120
```
121121

122122
### Scheduled Daily Scan
@@ -135,15 +135,15 @@ jobs:
135135
- uses: actions/checkout@v3
136136
- uses: CodeAnt-AI/codeant-ci-scan-action@v0.0.1
137137
with:
138-
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
138+
access_token: ${{ secrets.ACCESS_TOKEN_GITHUB }}
139139
```
140140

141141
### Scan Specific Directories
142142

143143
```yaml
144144
- uses: CodeAnt-AI/codeant-ci-scan-action@v0.0.1
145145
with:
146-
access_token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
146+
access_token: ${{ secrets.ACCESS_TOKEN_GITHUB }}
147147
include_paths: 'src/,backend/'
148148
exclude_paths: 'src/tests/,backend/vendor/'
149149
```
@@ -152,7 +152,7 @@ jobs:
152152

153153
### Authentication Errors
154154

155-
- Ensure your `GITHUB_ACCESS_TOKEN` is correctly set in repository secrets
155+
- Ensure your `ACCESS_TOKEN_GITHUB` is correctly set in repository secrets
156156
- Verify the token hasn't expired
157157
- Check that the token has the necessary permissions
158158

0 commit comments

Comments
 (0)