Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pypi-data[bot] authored Dec 13, 2024
0 parents commit cb6f0da
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/misc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
workflow_dispatch:
inputs:
args:
description: 'Args to pass to misc workflow'
type: string
required: true

concurrency: trigger

name: Run misc jobs

jobs:
misc:
name: Trigger misc
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/misc@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
workspace: ${{ github.workspace }}
run-id: ${{ github.run_number }}
61 changes: 61 additions & 0 deletions .github/workflows/trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/

0 comments on commit cb6f0da

Please sign in to comment.