From b1d0cef7c5e244ab74229d2e34cabfbdeb6e7a6e Mon Sep 17 00:00:00 2001 From: Clay Miller Date: Fri, 10 Oct 2025 19:31:44 -0400 Subject: [PATCH 1/2] fix: Replace relative paths in 'uses' --- .github/actions/gh-cache/cache/action.yml | 6 +++--- .github/workflows/test.yml | 4 ++-- action.yml | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/actions/gh-cache/cache/action.yml b/.github/actions/gh-cache/cache/action.yml index f0c36a25..e9333628 100644 --- a/.github/actions/gh-cache/cache/action.yml +++ b/.github/actions/gh-cache/cache/action.yml @@ -14,7 +14,7 @@ inputs: fail_on_cache_miss: description: "Fail the workflow if cached item is not found." required: false - default: 'false' + default: "false" outputs: value: @@ -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 }} @@ -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 }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5b7d24c9..0cc39d74 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} @@ -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 }} diff --git a/action.yml b/action.yml index 78d55ba0..b23bfd50 100644 --- a/action.yml +++ b/action.yml @@ -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 }} @@ -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 }} From a3e263e71516483e3707a477341410b164c9d1e9 Mon Sep 17 00:00:00 2001 From: Clay Miller Date: Fri, 10 Oct 2025 19:43:44 -0400 Subject: [PATCH 2/2] Update .github/actions/gh-cache/cache/action.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/actions/gh-cache/cache/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/gh-cache/cache/action.yml b/.github/actions/gh-cache/cache/action.yml index e9333628..d8cf8aca 100644 --- a/.github/actions/gh-cache/cache/action.yml +++ b/.github/actions/gh-cache/cache/action.yml @@ -14,7 +14,7 @@ inputs: fail_on_cache_miss: description: "Fail the workflow if cached item is not found." required: false - default: "false" + default: 'false' outputs: value: