We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 362b337 commit ab1c430Copy full SHA for ab1c430
.github/workflows/terraform.yaml
@@ -30,6 +30,8 @@ jobs:
30
contents: read
31
pull-requests: write
32
uses: ./.github/workflows/version-preview.yaml
33
+ with:
34
+ pr_number: ${{ github.event.pull_request.number }}
35
36
preCommitCheck:
37
name: Terraform Checks
.github/workflows/version-preview.yaml
@@ -2,6 +2,10 @@ name: 'Version Preview'
2
3
on:
4
workflow_call:
5
+ inputs:
6
+ pr_number:
7
+ required: true
8
+ type: number
9
10
defaults:
11
run:
@@ -20,7 +24,7 @@ jobs:
20
24
uses: actions/checkout@v4
21
25
with:
22
26
fetch-depth: 0
23
- ref: refs/pull/${{ github.event.pull_request.number }}/merge
27
+ ref: refs/pull/${{ inputs.pr_number }}/merge
28
29
- name: Configure for preview
run: |
0 commit comments