Skip to content

Commit

Permalink
feat(runs_on): permit using array of string to select specific runner (
Browse files Browse the repository at this point in the history
…#1740)

* feat(runs_on): permit using array of string to select specific githug runner

* docs(schema): add runs_on to schema

* fix(runs_on): ensure runs_on can be optional as before

* fix: replace github.action_path with GITHUB_ACTION_PATH

* chore: update terraform-fmt and terraform-init actions

* fix: update JSON Schema of tfaction-root.yaml to use anyOf for runs_on

---------

Co-authored-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
  • Loading branch information
NikitaCOEUR and suzuki-shunsuke committed Jul 19, 2024
1 parent 826565d commit 41b5167
Show file tree
Hide file tree
Showing 20 changed files with 594 additions and 574 deletions.
32 changes: 16 additions & 16 deletions check-terraform-skip/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions create-follow-up-pr/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ runs:
- uses: suzuki-shunsuke/tfaction/get-global-config@main
id: global-config

- run: bash ${{ github.action_path }}/skip_create_pr.sh
- run: bash "$GITHUB_ACTION_PATH/skip_create_pr.sh"
shell: bash
if: "fromJSON(steps.global-config.outputs.skip_create_pr)"
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
TFACTION_TARGET_LABEL_PREFIX: ${{ steps.global-config.outputs.label_prefix_target }}
TFACTION_DRAFT_PR: ${{ steps.global-config.outputs.draft_pr }}

- run: bash ${{ github.action_path }}/main.sh
- run: bash "$GITHUB_ACTION_PATH/main.sh"
shell: bash
if: "!fromJSON(steps.global-config.outputs.skip_create_pr)"
env:
Expand Down
Loading

0 comments on commit 41b5167

Please sign in to comment.