From e332e63be0d94334ca8aa5a81395e33b13c2dc38 Mon Sep 17 00:00:00 2001 From: Julie Muzina Date: Mon, 17 Jun 2024 11:00:32 -0400 Subject: [PATCH] move percy-snapshot action into its own dir --- .github/{workflows => actions}/percy-snapshot/action.yml | 0 .github/workflows/percy-baseline.yml | 2 +- .github/workflows/pr-percy-snapshots.yml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename .github/{workflows => actions}/percy-snapshot/action.yml (100%) 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 }}