diff --git a/.github/workflows/percy-snapshot/action.yml b/.github/actions/percy-snapshot/action.yml similarity index 100% rename from .github/workflows/percy-snapshot/action.yml rename to .github/actions/percy-snapshot/action.yml diff --git a/.github/workflows/percy-baseline.yml b/.github/workflows/percy-baseline.yml index bc7c1a9ca..5ef6b4611 100644 --- a/.github/workflows/percy-baseline.yml +++ b/.github/workflows/percy-baseline.yml @@ -13,7 +13,7 @@ jobs: - name: Checkout SCM uses: actions/checkout@v4 - - uses: ./.github/workflows/percy-snapshot + - uses: ./.github/actions/percy-snapshot with: branch_name: main commitsh: ${{ github.sha }} diff --git a/.github/workflows/pr-percy-snapshots.yml b/.github/workflows/pr-percy-snapshots.yml index 982aab7e3..446993362 100644 --- a/.github/workflows/pr-percy-snapshots.yml +++ b/.github/workflows/pr-percy-snapshots.yml @@ -52,7 +52,7 @@ jobs: - name: Take snapshots & upload to Percy id: percy_snapshot - uses: "./.github/workflows/percy-snapshot" + uses: "./.github/actions/percy-snapshot" with: branch_name: "pull/${{ steps.get_pr_data.outputs.pr_number }}" pr_number: ${{ steps.get_pr_data.outputs.pr_number }}