Skip to content

Commit 3ccdd18

Browse files
author
rahul-infra
committed
fix: changed github.ref to pullrequest.ref since it points the actual branch.
1 parent 5bda75d commit 3ccdd18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/terraform-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
1515
with:
16-
ref: ${{ github.ref }}
16+
ref: ${{ github.event.pull_request.head.ref }}
1717

1818
- name: Render and Push terraform docs for main module
1919
uses: terraform-docs/gh-actions@main

0 commit comments

Comments
 (0)