File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ name: Test Deployer
1717on :
1818 workflow_call :
1919 inputs :
20+ ref :
21+ required : false
22+ type : string
2023 design :
2124 required : true
2225 type : string
5659 steps :
5760 - name : Checkout repository
5861 uses : actions/checkout@v4
62+ with :
63+ ref : ${{ inputs.ref }}
5964
6065 - name : Update package lists
6166 run : sudo apt update
@@ -149,6 +154,7 @@ jobs:
149154 working-directory : ../themis/tofu_aws
150155 run : |
151156 cat > github_actions.auto.tfvars << 'EOF'
157+ profile = ""
152158 owner = "github"
153159 os_type = "${{ inputs.os-type }}"
154160 os_version = "${{ inputs.os-version }}"
Original file line number Diff line number Diff line change 11name : Test Deployer on Pull Request
22
33on :
4- pull_request :
4+ pull_request_target :
55 branches :
66 - main
77
1313 fail-fast : false
1414 uses : ./.github/workflows/test-deployer.yml
1515 with :
16+ ref : ${{ github.event.pull_request.head.sha }}
1617 design : ${{ matrix.design }}
1718 os-type : rocky
1819 os-version : " 9"
You can’t perform that action at this time.
0 commit comments