Skip to content

Commit 25f8619

Browse files
committed
wf
wf wf Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml wf Update ci-upstream-vs-workflow-versions.yml Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml wf wf wf Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml wf Update ci-upstream-vs-workflow-versions.yml Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml Update ci-main-reusable-caller.yml wf wf
1 parent c1c93ef commit 25f8619

8 files changed

+425
-354
lines changed

.github/workflows/check_new_release.yml

Lines changed: 0 additions & 170 deletions
This file was deleted.

.github/workflows/check_new_release_test.yml

Lines changed: 0 additions & 169 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: ci - auto rerun failed jobs
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
run_id:
7+
description: "The run id of the workflow to rerun"
8+
required: true
9+
attempts:
10+
description: "The number of attempts to rerun the workflow"
11+
required: true
12+
retries:
13+
description: "The number of retries to rerun the workflow"
14+
required: true
15+
github_repo:
16+
description: "The repository to rerun the workflow"
17+
required: false
18+
distinct_id:
19+
description: "The distinct id of the workflow to rerun"
20+
required: false
21+
22+
run-name: ci auto rerun failed jobs - attempt ${{ inputs.attempts }}
23+
24+
jobs:
25+
gh-cli-rerun:
26+
name: rerun - attempt ${{ inputs.attempts }}
27+
permissions:
28+
actions: write
29+
runs-on: ubuntu-24.04
30+
env:
31+
GH_TOKEN: "${{ secrets.AUTO_RERUN || github.token }}"
32+
steps:
33+
- name: Host - Checkout action ${{ inputs.distinct_id }}
34+
uses: actions/checkout@v4
35+
with:
36+
persist-credentials: false
37+
38+
- uses: userdocs/gh-cli-workflow-reruns/actions/auto-rerun-failed@main
39+
with:
40+
run_id: ${{ inputs.run_id }}
41+
attempts: ${{ inputs.attempts }}
42+
retries: ${{ inputs.retries }}
43+
github_repo: ${{ inputs.github_repo || github.repository }}
44+
distinct_id: ${{ inputs.distinct_id || github.run_id }}

0 commit comments

Comments
 (0)