Skip to content

Commit 8639bc7

Browse files
authored
chore: Create issues & PRs in another repo when running the E2E “Test” workflow (#2202)
Fixes github/continuous-ai-for-accessibility#74 (Hubber access only)
2 parents f0a077b + 067d563 commit 8639bc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
login_url: http://127.0.0.1:4000/
7575
username: ${{ secrets.TEST_USERNAME }}
7676
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
7878
token: ${{ secrets.GH_TOKEN }}
7979
cache_key: ${{ steps.cache_key.outputs.cache_key }}
8080

@@ -87,7 +87,7 @@ jobs:
8787
- name: Add PR URLs to findings
8888
uses: actions/github-script@v8
8989
with:
90-
github-token: ${{ secrets.GITHUB_TOKEN }}
90+
github-token: ${{ secrets.GH_TOKEN }}
9191
script: |
9292
const fs = require('fs');
9393
if (!process.env.FINDINGS_PATH || !fs.existsSync(process.env.FINDINGS_PATH)) {
@@ -131,7 +131,7 @@ jobs:
131131
npm ci
132132
npm run test
133133
env:
134-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
134+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
135135
FINDINGS_PATH: ${{ steps.cache_key.outputs.cache_key }}
136136

137137
- name: Clean up issues and pull requests
@@ -160,7 +160,7 @@ jobs:
160160
fi
161161
done
162162
env:
163-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
163+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
164164

165165
- name: Clean up cached findings
166166
if: ${{ always() }}

0 commit comments

Comments
 (0)