diff --git a/.github/actions/gh-cache/cache/action.yml b/.github/actions/gh-cache/cache/action.yml index f0c36a2..d8cf8ac 100644 --- a/.github/actions/gh-cache/cache/action.yml +++ b/.github/actions/gh-cache/cache/action.yml @@ -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 5b7d24c..0cc39d7 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 78d55ba..b23bfd5 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 }}