From f264d274a5315d49bbc047df7235609c6483a074 Mon Sep 17 00:00:00 2001 From: Anmol Nagpal Date: Wed, 27 Dec 2023 17:53:54 +0530 Subject: [PATCH 1/3] Feat: Update the shared workflows source version --- .github/workflows/automerge.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/automerge.yml diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml new file mode 100644 index 0000000..418e9e2 --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,12 @@ +--- +name: Auto merge +on: + pull_request: +jobs: + auto-merge: + uses: clouddrove/github-shared-workflows/.github/workflows/auto_merge.yml@1.0.9 + secrets: + GITHUB: ${{ secrets.GITHUB }} + with: + tfcheck: 'tf-checks-complete-example / Check code format' +... From 79421ede7f67f25ff1bd795ba70f25aa6f4d3821 Mon Sep 17 00:00:00 2001 From: Anmol Nagpal Date: Wed, 27 Dec 2023 18:01:09 +0530 Subject: [PATCH 2/3] Feat: Update the shared workflows source version --- .github/workflows/auto_assignee.yml | 4 +++- .github/workflows/changelog.yml | 4 +++- .github/workflows/tf-checks.yml | 8 +++++--- .github/workflows/tflint.yml | 4 +++- .github/workflows/tfsec.yml | 2 +- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/auto_assignee.yml b/.github/workflows/auto_assignee.yml index f8b8bcd..8d1abe1 100644 --- a/.github/workflows/auto_assignee.yml +++ b/.github/workflows/auto_assignee.yml @@ -1,3 +1,4 @@ +--- name: Auto Assign PRs on: @@ -7,8 +8,9 @@ on: workflow_dispatch: jobs: assignee: - uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@master + uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@1.0.9 secrets: GITHUB: ${{ secrets.GITHUB }} with: assignees: 'clouddrove-ci' +... diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 1ee6f78..90a5911 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -1,3 +1,4 @@ +--- name: changelog permissions: write-all on: @@ -7,7 +8,8 @@ on: workflow_dispatch: jobs: changelog: - uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master + uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@1.0.9 secrets: inherit with: branch: 'master' +... diff --git a/.github/workflows/tf-checks.yml b/.github/workflows/tf-checks.yml index 61106eb..aa647ba 100644 --- a/.github/workflows/tf-checks.yml +++ b/.github/workflows/tf-checks.yml @@ -1,3 +1,4 @@ +--- name: tf-checks on: push: @@ -6,15 +7,16 @@ on: workflow_dispatch: jobs: basic_example: - uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master + uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.9 with: working_directory: './_example/basic/' complete_example: - uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master + uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.9 with: working_directory: './_example/complete/' spot_instance: - uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master + uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.9 with: working_directory: './_example/spot_instance/' +... diff --git a/.github/workflows/tflint.yml b/.github/workflows/tflint.yml index 5b8aa91..d3eb92c 100644 --- a/.github/workflows/tflint.yml +++ b/.github/workflows/tflint.yml @@ -1,3 +1,4 @@ +--- name: tf-lint on: push: @@ -6,6 +7,7 @@ on: workflow_dispatch: jobs: tflint: - uses: clouddrove/test-tfsec/.github/workflows/tflint.yaml@master + uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@1.0.9 secrets: GITHUB: ${{ secrets.GITHUB }} +... diff --git a/.github/workflows/tfsec.yml b/.github/workflows/tfsec.yml index c203751..daefede 100644 --- a/.github/workflows/tfsec.yml +++ b/.github/workflows/tfsec.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: jobs: tfsec: - uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master + uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@1.0.9 secrets: inherit with: working_directory: '.' From 3e0be39bf4f9bd878e6bc20aec266785c8cd5fce Mon Sep 17 00:00:00 2001 From: Anmol Nagpal Date: Thu, 28 Dec 2023 17:16:44 +0530 Subject: [PATCH 3/3] Feat: Add automerge github shared workflow --- .github/workflows/automerge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 418e9e2..c8e2ce0 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -8,5 +8,5 @@ jobs: secrets: GITHUB: ${{ secrets.GITHUB }} with: - tfcheck: 'tf-checks-complete-example / Check code format' + tfcheck: 'spot_instance / Check code format' ...