diff --git a/.github/workflows/misc.yml b/.github/workflows/misc.yml new file mode 100644 index 00000000000..bdd598b278c --- /dev/null +++ b/.github/workflows/misc.yml @@ -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 }} diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml new file mode 100644 index 00000000000..ef2d6a39660 --- /dev/null +++ b/.github/workflows/trigger.yml @@ -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 }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..62c893550ad --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ \ No newline at end of file