name: Python
on:
  workflow_dispatch:
    inputs:
      build:
        required: true
        type: number
jobs:
  retrigger:
    runs-on: ubuntu-latest
    steps:
      - run: gh workflow run python.yml -f build=${{ inputs.build }} --ref abseil
        shell: bash

Add a GitHub Actions workflow for Python releases.
Add a GitHub Actions workflow for Python releases.

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch doesn't mention it, but https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#configuring-a-workflow-to-run-manually says: "To trigger the `workflow_dispatch` event, your workflow must be in the default branch."

Hence, make the workflow on the `main` branch retrigger the workflow on the `abseil` branch. Sigh.

Change-Id: I40d9954325a304de9583f15685334aeb24b5e38c
Reviewed-on: https://code-review.googlesource.com/c/re2/+/60572
Reviewed-by: Paul Wankadia <62d4e38bb1380f055ec4b899baa75e52af09c5f7@google.com>
Reviewed-by: Alex Chernyakhovsky <7d8f1034c38249e22bb157c14849fb2873ab27f4@google.com>
(cherry picked from commit 8ab5b17b2b49197be10a615519d4adbe3c1c2cfa)
Reviewed-on: https://code-review.googlesource.com/c/re2/+/60590
