@@ -89,20 +89,20 @@ jobs:
8989 scope : DataDog/datadog-api-spec
9090 policy : datadog-api-client-python.reusable-integration-test.post-status
9191 - name : Checkout code
92- uses : actions/checkout@v3
92+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9393 with :
9494 repository : DataDog/datadog-api-client-python
9595 ref : ${{ inputs.target-branch || github.ref }}
9696 - name : Post pending status check
9797 if : github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/') && (inputs.enable-status-reporting || github.event_name != 'workflow_call')
98- uses : DataDog/github-actions/post-status-check@v2
98+ uses : DataDog/github-actions/post-status-check@65b4875f33ad773d7ba4b005a2cb5f35020295f3 # v2.3.0
9999 with :
100100 github-token : ${{ steps.get_token.outputs.token }}
101101 repo : ${{ inputs.target-repo || 'datadog-api-spec' }}
102102 status : pending
103103 context : ${{ inputs.status-context || 'integration' }}
104104 - name : Set up Python 3.12
105- uses : actions/setup-python@v4
105+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
106106 with :
107107 python-version : " 3.12"
108108 cache : " pip"
@@ -129,15 +129,15 @@ jobs:
129129 DD_TRACE_PROPAGATION_STYLE_INJECT : " datadog"
130130 - name : Post failure status check
131131 if : failure() && github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/') && (inputs.enable-status-reporting || github.event_name != 'workflow_call')
132- uses : DataDog/github-actions/post-status-check@v2
132+ uses : DataDog/github-actions/post-status-check@65b4875f33ad773d7ba4b005a2cb5f35020295f3 # v2.3.0
133133 with :
134134 github-token : ${{ steps.get_token.outputs.token }}
135135 repo : ${{ inputs.target-repo || 'datadog-api-spec' }}
136136 status : failure
137137 context : ${{ inputs.status-context || 'integration' }}
138138 - name : Post success status check
139139 if : " !failure() && github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/') && (inputs.enable-status-reporting || github.event_name != 'workflow_call')"
140- uses : DataDog/github-actions/post-status-check@v2
140+ uses : DataDog/github-actions/post-status-check@65b4875f33ad773d7ba4b005a2cb5f35020295f3 # v2.3.0
141141 with :
142142 github-token : ${{ steps.get_token.outputs.token }}
143143 repo : ${{ inputs.target-repo || 'datadog-api-spec' }}
0 commit comments