Skip to content

Commit

Permalink
fix: fix scaffold-module
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Nov 26, 2023
1 parent 6f28d71 commit b075bdd
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/scaffold-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,17 @@ on:
module_path:
description: 'module path'
required: true
template_dir:
type: choice
default: templates/module-hello
options:
- templates/module-hello
jobs:
scaffold:
runs-on: ubuntu-latest
env:
TFACTION_MODULE_PATH: ${{inputs.module_path}}
TFACTION_MODULE_TEMPLATE_DIR: ${{inputs.template_dir}}
permissions:
contents: read
steps:
Expand Down Expand Up @@ -38,5 +46,8 @@ jobs:
- uses: suzuki-shunsuke/tfaction/scaffold-module@pr/1291
with:
github_token: ${{ steps.generate_token.outputs.token }}
module_path: ${{ github.event.inputs.module_path }}
github_token: ${{steps.generate_token.outputs.token}}

- uses: suzuki-shunsuke/tfaction/create-scaffold-module-pr@pr/1291
with:
github_token: ${{steps.generate_token.outputs.token}}

0 comments on commit b075bdd

Please sign in to comment.