Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/gh-cache/cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
using: "composite"
steps:
- name: Restore cached value
uses: ./.github/actions/gh-cache/restore
uses: github/accessibility-scanner/.github/actions/gh-cache/restore@v1
with:
path: ${{ inputs.key }}
token: ${{ inputs.token }}
Expand All @@ -41,7 +41,7 @@ runs:

- if: ${{ inputs.value }}
name: Save cached value
uses: ./.github/actions/gh-cache/save
uses: github/accessibility-scanner/.github/actions/gh-cache/save@v1
with:
path: ${{ inputs.key }}
token: ${{ inputs.token }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
cache_key: ${{ steps.cache_key.outputs.cache_key }}

- name: Retrieve cached findings
uses: ./.github/actions/gh-cache/restore
uses: github/accessibility-scanner/.github/actions/gh-cache/restore@v1
with:
path: ${{ steps.cache_key.outputs.cache_key }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:

- name: Clean up cached findings
if: ${{ always() }}
uses: ./.github/actions/gh-cache/delete
uses: github/accessibility-scanner/.github/actions/gh-cache/delete@v1
with:
path: ${{ steps.cache_key.outputs.cache_key }}
token: ${{ secrets.GITHUB_TOKEN }}
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,27 +47,27 @@ runs:
echo "cache_key=$CACHE_KEY" >> $GITHUB_OUTPUT
- name: Restore cached_findings
id: restore
uses: ./.github/actions/gh-cache/cache
uses: github/accessibility-scanner/.github/actions/gh-cache/cache@v1
with:
key: ${{ steps.cache_key.outputs.cache_key }}
token: ${{ inputs.token }}
- if: ${{ inputs.login_url && inputs.username && inputs.password && !inputs.auth_context }}
name: Authenticate
id: auth
uses: ./.github/actions/auth
uses: github/accessibility-scanner/.github/actions/auth@v1
with:
login_url: ${{ inputs.login_url }}
username: ${{ inputs.username }}
password: ${{ inputs.password }}
- name: Find
id: find
uses: ./.github/actions/find
uses: github/accessibility-scanner/.github/actions/find@v1
with:
urls: ${{ inputs.urls }}
auth_context: ${{ inputs.auth_context || steps.auth.outputs.auth_context }}
- name: File
id: file
uses: ./.github/actions/file
uses: github/accessibility-scanner/.github/actions/file@v1
with:
findings: ${{ steps.find.outputs.findings }}
repository: ${{ inputs.repository }}
Expand All @@ -76,13 +76,13 @@ runs:
- if: ${{ inputs.skip_copilot_assignment != 'true' }}
name: Fix
id: fix
uses: ./.github/actions/fix
uses: github/accessibility-scanner/.github/actions/fix@v1
with:
issue_urls: ${{ steps.file.outputs.opened_issue_urls }}
repository: ${{ inputs.repository }}
token: ${{ inputs.token }}
- name: Save cached_findings
uses: ./.github/actions/gh-cache/cache
uses: github/accessibility-scanner/.github/actions/gh-cache/cache@v1
with:
key: ${{ steps.cache_key.outputs.cache_key }}
value: ${{ steps.file.outputs.findings }}
Expand Down
Loading