Skip to content

Commit 43eeafe

Browse files
committed
Update actions
1 parent 61e9ce7 commit 43eeafe

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/approved_status.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
2828
repository: DataDog/datadog-api-spec
2929
- name: Post PR review status check
30-
uses: DataDog/github-actions/post-review-status@v1.0.0
30+
uses: DataDog/github-actions/post-review-status@v2
3131
with:
3232
github-token: ${{ steps.get_token.outputs.token }}
3333
repo: datadog-api-spec

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
fetch-depth: 0
3939
ref: ${{ github.event.pull_request.head.sha }}
4040
token: ${{ steps.get_token.outputs.token }}
41-
- uses: actions/setup-python@v4
41+
- uses: actions/setup-python@v4
4242
with:
4343
python-version: '3.11'
4444
# Fetch a fork of the repo
@@ -128,7 +128,7 @@ jobs:
128128
private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
129129
repository: DataDog/datadog-api-spec
130130
- name: Post status check
131-
uses: DataDog/github-actions/post-status-check@v1.0.0
131+
uses: DataDog/github-actions/post-status-check@v2
132132
with:
133133
github-token: ${{ steps.get_token.outputs.token }}
134134
repo: datadog-api-spec

.github/workflows/test_integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: actions/checkout@v3
4545
- name: Post pending status check
4646
if: github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/')
47-
uses: DataDog/github-actions/post-status-check@v1.0.0
47+
uses: DataDog/github-actions/post-status-check@v2
4848
with:
4949
github-token: ${{ steps.get_token.outputs.token }}
5050
repo: datadog-api-spec
@@ -71,15 +71,15 @@ jobs:
7171
SLEEP_AFTER_REQUEST: "${{ secrets.SLEEP_AFTER_REQUEST }}"
7272
- name: Post failure status check
7373
if: failure() && github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/')
74-
uses: DataDog/github-actions/post-status-check@v1.0.0
74+
uses: DataDog/github-actions/post-status-check@v2
7575
with:
7676
github-token: ${{ steps.get_token.outputs.token }}
7777
repo: datadog-api-spec
7878
status: failure
7979
context: integration
8080
- name: Post success status check
8181
if: "!failure() && github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/')"
82-
uses: DataDog/github-actions/post-status-check@v1.0.0
82+
uses: DataDog/github-actions/post-status-check@v2
8383
with:
8484
github-token: ${{ steps.get_token.outputs.token }}
8585
repo: datadog-api-spec

0 commit comments

Comments
 (0)