Skip to content

Commit ae54f2e

Browse files
committed
fix: Use remote-uses syntax instead of actions/checkout to avoid needing a token with 'contents: read' permission
1 parent 36d7638 commit ae54f2e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

action.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,21 @@ inputs:
1616
runs:
1717
using: "composite"
1818
steps:
19-
- uses: actions/checkout@v4
20-
with:
21-
repository: 'github/continuous-accessibility-scanner'
2219
- name: Find
2320
id: find
24-
uses: ./.github/actions/find
21+
uses: github/continuous-accessibility-scanner/.github/actions/find@smockle/composite-action
2522
with:
2623
urls: ${{ inputs.urls }}
2724
- name: File
2825
id: file
29-
uses: ./.github/actions/file
26+
uses: github/continuous-accessibility-scanner/.github/actions/file@smockle/composite-action
3027
with:
3128
findings: ${{ steps.find.outputs.findings }}
3229
repository: ${{ inputs.repository }}
3330
token: ${{ inputs.token }}
3431
- name: Fix
3532
id: fix
36-
uses: ./.github/actions/fix
33+
uses: github/continuous-accessibility-scanner/.github/actions/fix@smockle/composite-action
3734
with:
3835
issue_numbers: ${{ steps.file.outputs.issue_numbers }}
3936
repository: ${{ inputs.repository }}

0 commit comments

Comments
 (0)