Skip to content

Commit e905726

Browse files
lastoCHka42p7nov
authored andcommitted
ci: use bobheadxi/[email protected] (#3393)
This patch fixes retry_wait_seconds for nick-field/retry action so the command has enough time for correct executing. Before this patch, we had this step always failing with the real webhook task finished successfully. Part of #3390 _______ Since bobheadxi/[email protected] we had a CI failure with the following error in `destroy-deployments` and `destroy-deployments-manually`, step `remove-github-deployment`: ``` unexpected error encountered: HttpError: Resource not accessible by integration Error: unexpected error encountered: HttpError: Resource not accessible by integration - see logs for more information ``` This patch returns version 1.3.0 that worked OK. Part of #3390 ______ Closes #3390
1 parent 2511543 commit e905726

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/destroy-deployment-manually.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
id: delete-deployment-webhook
3232
with:
3333
command: bash webhooks/delete_deployment.sh
34-
timeout_seconds: 15
35-
retry_wait_seconds: 15
34+
timeout_seconds: 30
35+
retry_wait_seconds: 30
3636
max_attempts: 3
3737

3838
- name: Remove GitHub deployment at ${{env.DEPLOYMENT_NAME}}
39-
uses: bobheadxi/deployments@v1
39+
uses: bobheadxi/deployments@v1.3.0
4040
# remove GH deployment even if webhook failed
4141
if: always()
4242
id: remove-github-deployment

.github/workflows/destroy-deployment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
id: delete-deployment-webhook
3131
with:
3232
command: bash webhooks/delete_deployment.sh
33-
timeout_seconds: 15
34-
retry_wait_seconds: 15
33+
timeout_seconds: 30
34+
retry_wait_seconds: 30
3535
max_attempts: 3
3636

3737
- name: Remove GitHub deployment at branch-${{env.DEPLOYMENT_NAME}}
38-
uses: bobheadxi/deployments@v1
38+
uses: bobheadxi/deployments@v1.3.0
3939
# remove GH deployment even if webhook failed
4040
if: always()
4141
id: remove-github-deployment

0 commit comments

Comments
 (0)