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