forked from theappnest/terraform-monorepo-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
25 lines (25 loc) · 824 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: terraform-monorepo-action
description: Returns paths to Terraform modules.
author: DREST LTD
inputs:
token:
description: GitHub token. Defaults to secrets.GITHUB_TOKEN.
required: false
default: ${{ github.token }}
mode:
description: Set to `all` to return all modules or `changed` to only return modules that have changes in this PR/commit. Defaults to `changed`.
required: false
default: changed
ignore:
description: List of module path globs to ignore. Uses gitignore spec.
required: false
monitored:
description: List of file extensions or base file names to monitor
required: false
default: '.tf, .tpl, .yaml, .yml, .terraform.lock.hcl'
outputs:
modules:
description: An array of paths to Terraform modules.
runs:
using: 'node16'
main: 'dist/index.js'