Skip to content

Commit 4420fb6

Browse files
Initial commit
0 parents  commit 4420fb6

File tree

3 files changed

+89
-0
lines changed

3 files changed

+89
-0
lines changed

.github/workflows/misc.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
workflow_dispatch:
3+
inputs:
4+
args:
5+
description: 'Args to pass to misc workflow'
6+
type: string
7+
required: true
8+
9+
concurrency: trigger
10+
11+
name: Run misc jobs
12+
13+
jobs:
14+
misc:
15+
name: Trigger misc
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
ref: main
21+
ssh-key: ${{ secrets.DEPLOY_KEY }}
22+
- name: Run action
23+
uses: pypi-data/internal-toolchain/actions/misc@main
24+
with:
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
workspace: ${{ github.workspace }}
27+
run-id: ${{ github.run_number }}

.github/workflows/trigger.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
on:
2+
workflow_dispatch:
3+
inputs:
4+
limit:
5+
description: 'Limit'
6+
type: number
7+
required: true
8+
timeout:
9+
description: 'Timeout'
10+
required: true
11+
type: number
12+
default: 40
13+
14+
concurrency: trigger
15+
16+
name: Trigger
17+
18+
jobs:
19+
trigger:
20+
name: Trigger workflow
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v3
24+
with:
25+
ref: main
26+
ssh-key: ${{ secrets.DEPLOY_KEY }}
27+
- name: Run action
28+
uses: pypi-data/internal-toolchain/actions/trigger@main
29+
timeout-minutes: ${{ fromJson(inputs.timeout) }}
30+
with:
31+
token: ${{ secrets.GITHUB_TOKEN }}
32+
workspace: ${{ github.workspace }}
33+
run-id: ${{ github.run_number }}
34+
limit: ${{ inputs.limit }}
35+
36+
update_readme:
37+
name: Update readme
38+
runs-on: ubuntu-latest
39+
needs: [ trigger ]
40+
steps:
41+
- uses: actions/checkout@v3
42+
with:
43+
ref: main
44+
- name: Run action
45+
uses: pypi-data/internal-toolchain/actions/update-readme@main
46+
with:
47+
workspace: ${{ github.workspace }}
48+
49+
update_index:
50+
name: Update Index
51+
runs-on: ubuntu-latest
52+
needs: [ trigger ]
53+
steps:
54+
- uses: actions/checkout@v3
55+
with:
56+
ref: main
57+
- name: Run action
58+
uses: pypi-data/internal-toolchain/actions/update-index@main
59+
with:
60+
workspace: ${{ github.workspace }}
61+
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/

0 commit comments

Comments
 (0)