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:
79791. Go to your repository's Settings
80802. Navigate to Secrets and variables → Actions
81813. Click "New repository secret"
82- 4. Name : ` GITHUB_ACCESS_TOKEN `
82+ 4. Name : ` ACCESS_TOKEN_GITHUB `
83835. Value : Paste your CodeAnt access token
84846. 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