name: Move the pin in every dependent description: >- Open or update one pull request in every repository of dependents.toml that moves only the pin, and start that repository's workflow (image_tools/bump.py). The caller passes BUMP_TOKEN, the netork-bot account's token, as env. inputs: image: description: The image whose pin moves, e.g. netork/base-os required: true ref: description: The new reference, :@ required: true version: description: The new version required: true report: description: The pull requests' body, a file default: report.md dependents: description: The repositories that pin the image default: dependents.toml runs: using: composite steps: - shell: bash env: IMAGE: ${{ inputs.image }} REF: ${{ inputs.ref }} VERSION: ${{ inputs.version }} REPORT: ${{ inputs.report }} DEPENDENTS: ${{ inputs.dependents }} PYTHONPATH: ${{ github.action_path }}/../.. run: | python3 -m image_tools.bump "$IMAGE" "$REF" "$VERSION" \ --report "$REPORT" --dependents "$DEPENDENTS"