Skip to content

Commit

Permalink
feat: Added AI labeler and pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fsadykov committed Nov 12, 2023
1 parent 5d2700c commit f08eaeb
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 43 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ai-issue-labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: FuchiCorp LLC AI labeler

on:
workflow_dispatch:
issues:
types: [opened, edited]

jobs:
common-actions:
secrets: inherit
uses: fuchicorp/common_actions/.github/workflows/python-script-executor.yml@master
with:
script_path: github-management/ai-smart-labeler/ai-issue-labeler.py
requirements_file: github-management/ai-smart-labeler/requirements.txt
13 changes: 13 additions & 0 deletions .github/workflows/common-pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: FuchiCorp Source Code Checks!

on:
workflow_dispatch:
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch

jobs:
common-actions:
uses: fuchicorp/common_actions/.github/workflows/pre-commit.yml@master
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@

# terraform module testing folder
*test*
.terraform
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.76.0
hooks:
- id: terraform_fmt
- id: terraform_validate
60 changes: 60 additions & 0 deletions .terraform.lock.hcl

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

40 changes: 0 additions & 40 deletions output.tf

This file was deleted.

6 changes: 3 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ variable "enabled" {
}

variable "template_custom_vars" {
type = map
type = map(any)
default = {}
description = "-(Optional) Local chart replace variables from values.yaml"
}
Expand All @@ -47,8 +47,8 @@ variable "timeout" {
}

variable "recreate_pods" {
type = bool
default = false
type = bool
default = false
}

variable "values" {
Expand Down

0 comments on commit f08eaeb

Please sign in to comment.