Skip to content

Commit cfea416

Browse files
authored
fix: Replace relative paths in uses (#9)
2 parents 17bf936 + a3e263e commit cfea416

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/actions/gh-cache/cache/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
using: "composite"
2626
steps:
2727
- name: Restore cached value
28-
uses: ./.github/actions/gh-cache/restore
28+
uses: github/accessibility-scanner/.github/actions/gh-cache/restore@v1
2929
with:
3030
path: ${{ inputs.key }}
3131
token: ${{ inputs.token }}
@@ -41,7 +41,7 @@ runs:
4141
4242
- if: ${{ inputs.value }}
4343
name: Save cached value
44-
uses: ./.github/actions/gh-cache/save
44+
uses: github/accessibility-scanner/.github/actions/gh-cache/save@v1
4545
with:
4646
path: ${{ inputs.key }}
4747
token: ${{ inputs.token }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
cache_key: ${{ steps.cache_key.outputs.cache_key }}
8080

8181
- name: Retrieve cached findings
82-
uses: ./.github/actions/gh-cache/restore
82+
uses: github/accessibility-scanner/.github/actions/gh-cache/restore@v1
8383
with:
8484
path: ${{ steps.cache_key.outputs.cache_key }}
8585
token: ${{ secrets.GITHUB_TOKEN }}
@@ -164,7 +164,7 @@ jobs:
164164

165165
- name: Clean up cached findings
166166
if: ${{ always() }}
167-
uses: ./.github/actions/gh-cache/delete
167+
uses: github/accessibility-scanner/.github/actions/gh-cache/delete@v1
168168
with:
169169
path: ${{ steps.cache_key.outputs.cache_key }}
170170
token: ${{ secrets.GITHUB_TOKEN }}

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,27 +47,27 @@ runs:
4747
echo "cache_key=$CACHE_KEY" >> $GITHUB_OUTPUT
4848
- name: Restore cached_findings
4949
id: restore
50-
uses: ./.github/actions/gh-cache/cache
50+
uses: github/accessibility-scanner/.github/actions/gh-cache/cache@v1
5151
with:
5252
key: ${{ steps.cache_key.outputs.cache_key }}
5353
token: ${{ inputs.token }}
5454
- if: ${{ inputs.login_url && inputs.username && inputs.password && !inputs.auth_context }}
5555
name: Authenticate
5656
id: auth
57-
uses: ./.github/actions/auth
57+
uses: github/accessibility-scanner/.github/actions/auth@v1
5858
with:
5959
login_url: ${{ inputs.login_url }}
6060
username: ${{ inputs.username }}
6161
password: ${{ inputs.password }}
6262
- name: Find
6363
id: find
64-
uses: ./.github/actions/find
64+
uses: github/accessibility-scanner/.github/actions/find@v1
6565
with:
6666
urls: ${{ inputs.urls }}
6767
auth_context: ${{ inputs.auth_context || steps.auth.outputs.auth_context }}
6868
- name: File
6969
id: file
70-
uses: ./.github/actions/file
70+
uses: github/accessibility-scanner/.github/actions/file@v1
7171
with:
7272
findings: ${{ steps.find.outputs.findings }}
7373
repository: ${{ inputs.repository }}
@@ -76,13 +76,13 @@ runs:
7676
- if: ${{ inputs.skip_copilot_assignment != 'true' }}
7777
name: Fix
7878
id: fix
79-
uses: ./.github/actions/fix
79+
uses: github/accessibility-scanner/.github/actions/fix@v1
8080
with:
8181
issue_urls: ${{ steps.file.outputs.opened_issue_urls }}
8282
repository: ${{ inputs.repository }}
8383
token: ${{ inputs.token }}
8484
- name: Save cached_findings
85-
uses: ./.github/actions/gh-cache/cache
85+
uses: github/accessibility-scanner/.github/actions/gh-cache/cache@v1
8686
with:
8787
key: ${{ steps.cache_key.outputs.cache_key }}
8888
value: ${{ steps.file.outputs.findings }}

0 commit comments

Comments
 (0)