Skip to content

v0.5.24

Compare
Choose a tag to compare
@github-actions github-actions released this 01 May 11:47
· 1321 commits to main since this release

Issues | Pull Requests | v0.5.23...v0.5.24 | Base revision

Features

#909 scaffold-tfmigrate: Support scaffolding tfmigrate migration related files to existing pull requests

A new input pr_number was added to the action scaffold-tfmigrate.

e.g. .github/workflows/scaffolf-tfmigrate.yaml

on:
  workflow_dispatch:
    inputs:
      target:
        description: 'target'
        required: true
      migration_name:
        description: 'migration name. e.g. "import_foo"'
        required: true
      pr_number: # New
        description: Pull Request Number
        required: false
jobs:
  scaffold-tfmigrate:
    # ...
    steps:
      # ...
      - uses: suzuki-shunsuke/tfaction/scaffold-tfmigrate@pr/909
        id: scaffold-working-dir
        with:
          github_app_token: ${{steps.generate_token.outputs.token}}
          migration_name: ${{github.event.inputs.migration_name}}
          pr_number: ${{inputs.pr_number}} # New

If pr_number is set, the action pushes a commit to the given request instead of creating a new pull request.