|
64 | 64 | echo "cache_key=$(printf 'cached_findings-%s-%s.json' "${{ github.ref_name }}" "${{ matrix.site }}" | tr -cs 'A-Za-z0-9._-' '_')" >> $GITHUB_OUTPUT |
65 | 65 |
|
66 | 66 | - name: Scan site (${{ matrix.site }}) |
67 | | - uses: github-community-projects/continuous-ai-for-accessibility-scanner@main |
| 67 | + uses: ./ |
68 | 68 | with: |
69 | 69 | urls: | |
70 | 70 | http://127.0.0.1:4000/ |
|
74 | 74 | login_url: http://127.0.0.1:4000/ |
75 | 75 | username: ${{ secrets.TEST_USERNAME }} |
76 | 76 | password: ${{ secrets.TEST_PASSWORD }} |
77 | | - repository: github-community-projects/continuous-ai-for-accessibility-scanner |
| 77 | + repository: github-community-projects/continuous-ai-for-accessibility-scanner-testing |
78 | 78 | token: ${{ secrets.GH_TOKEN }} |
79 | 79 | cache_key: ${{ steps.cache_key.outputs.cache_key }} |
80 | 80 |
|
|
87 | 87 | - name: Add PR URLs to findings |
88 | 88 | uses: actions/github-script@v8 |
89 | 89 | with: |
90 | | - github-token: ${{ secrets.GITHUB_TOKEN }} |
| 90 | + github-token: ${{ secrets.GH_TOKEN }} |
91 | 91 | script: | |
92 | 92 | const fs = require('fs'); |
93 | 93 | if (!process.env.FINDINGS_PATH || !fs.existsSync(process.env.FINDINGS_PATH)) { |
@@ -131,7 +131,7 @@ jobs: |
131 | 131 | npm ci |
132 | 132 | npm run test |
133 | 133 | env: |
134 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 134 | + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |
135 | 135 | FINDINGS_PATH: ${{ steps.cache_key.outputs.cache_key }} |
136 | 136 |
|
137 | 137 | - name: Clean up issues and pull requests |
@@ -160,7 +160,7 @@ jobs: |
160 | 160 | fi |
161 | 161 | done |
162 | 162 | env: |
163 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 163 | + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |
164 | 164 |
|
165 | 165 | - name: Clean up cached findings |
166 | 166 | if: ${{ always() }} |
|
0 commit comments