-
Notifications
You must be signed in to change notification settings - Fork 0
PLT-212 CDAP workflow for tofu format and lint #320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
workflows: ["tofu-format-and-validate"] | ||
types: | ||
- completed | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an interesting idea but I think it would end up triggering this workflow on every push that changes anything in the terraform directory. These workflows can instead run independently.
steps: | ||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
with: | ||
fetch-depth: 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why fetch-depth: 0 instead of 1? Does zero fetch everything?
🎫 Ticket
https://jira.cms.gov/browse/PLT-212
🛠 Changes
CDAP workflow for tofu format and lint has been created
ℹ️ Context
CDAP workflow for tofu format and lint has been created and the check-fmt step has been removed from all tf workflows.
🧪 Validation
See checks