diff --git a/.github/workflows/tf-plan.yml b/.github/workflows/tf-plan.yml index 484ee54..307b79d 100644 --- a/.github/workflows/tf-plan.yml +++ b/.github/workflows/tf-plan.yml @@ -51,7 +51,7 @@ jobs: - uses: actions/checkout@v6 with: - ref: ${{ github.ref }} + ref: ${{ github.head_ref || github.ref }} - uses: hashicorp/setup-terraform@v4 with: