Skip to content

Commit 7b6e004

Browse files
authored
fix: Use 'main' branch now that referenced actions exist there (#55)
Follow-up to github-community-projects/continuous-ai-for-accessibility-scanner#24
2 parents fc037e1 + 5382957 commit 7b6e004

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ jobs:
5050
echo "cache_key=$(printf 'cached_findings-%s-%s.json' "${{ github.ref_name }}" "${{ matrix.site }}" | tr -cs 'A-Za-z0-9._-' '_')" >> $GITHUB_OUTPUT
5151
5252
- name: Scan site (${{ matrix.site }})
53-
# FIXME: Switch branch to 'main' after https://github.com/github/continuous-ai-for-accessibility-scanner/pull/24 is merged
54-
uses: github/continuous-ai-for-accessibility-scanner@smockle/cache_key
53+
uses: github/continuous-ai-for-accessibility-scanner@main
5554
with:
5655
urls: |
5756
http://127.0.0.1:4000/
@@ -63,8 +62,7 @@ jobs:
6362
cache_key: ${{ steps.cache_key.outputs.cache_key }}
6463

6564
- name: Retrieve cached findings
66-
# FIXME: Switch branch to 'main' after https://github.com/github/continuous-ai-for-accessibility-scanner/pull/24 is merged
67-
uses: github/continuous-ai-for-accessibility-scanner/.github/actions/gh-cache/restore@smockle/cache_key
65+
uses: github/continuous-ai-for-accessibility-scanner/.github/actions/gh-cache/restore@main
6866
with:
6967
path: ${{ steps.cache_key.outputs.cache_key }}
7068
token: ${{ secrets.GITHUB_TOKEN }}
@@ -151,8 +149,7 @@ jobs:
151149

152150
- name: Clean up cached findings
153151
if: ${{ always() }}
154-
# FIXME: Switch branch to 'main' after https://github.com/github/continuous-ai-for-accessibility-scanner/pull/24 is merged
155-
uses: github/continuous-ai-for-accessibility-scanner/.github/actions/gh-cache/delete@smockle/cache_key
152+
uses: github/continuous-ai-for-accessibility-scanner/.github/actions/gh-cache/delete@main
156153
with:
157154
path: ${{ steps.cache_key.outputs.cache_key }}
158155
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)