Skip to content
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

[pull] main from cloudposse:main #5

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6e875c4
chore: Update Scaffolding (#122)
osterman Mar 9, 2024
63e9cfa
chore: Add GitHub Settings (#123)
osterman Mar 15, 2024
61c66f3
chore: Add GitHub Settings (#124)
osterman Mar 15, 2024
5ac31a1
Bump golang.org/x/net in /test/src (#129)
dependabot[bot] Mar 15, 2024
125d969
Bump github.com/hashicorp/go-getter from 1.5.9 to 1.7.0 in /test/src …
dependabot[bot] Mar 15, 2024
b1755bb
Bump google.golang.org/protobuf from 1.26.0 to 1.33.0 in /test/src (#…
dependabot[bot] Mar 15, 2024
e4f750f
chore: Use GitHub Action Workflows from `cloudposse/.github` Repo (#133)
osterman Apr 10, 2024
cc6dc80
Bump golang.org/x/net from 0.17.0 to 0.23.0 in /test/src (#134)
dependabot[bot] Apr 19, 2024
5389be7
chore: Update GitHub workflows (#136)
osterman May 3, 2024
d2eacfc
chore: Update GitHub Workflows to Fix ReviewDog TFLint Action (#137)
osterman May 7, 2024
9d0db35
chore: Update GitHub Workflows to use shared workflows from '.github'…
osterman May 21, 2024
3774078
chore: update README.md
actions-user May 22, 2024
27e389a
chore: Update release workflow to allow pull-requests: write (#139)
osterman May 31, 2024
c540b13
chore: Update .github/settings.yml (#141)
osterman Jul 18, 2024
d84462d
chore: update README.md
actions-user Jul 24, 2024
0f97071
chore: Update .github/settings.yml (#142)
osterman Aug 27, 2024
35a31aa
chore: Migrate new test account (#143)
osterman Sep 6, 2024
65b1851
chore: update README.md
actions-user Sep 19, 2024
4dd4d81
chore: update README.md
actions-user Oct 4, 2024
f636876
chore: update README.md
actions-user Oct 9, 2024
9fdf95e
chore: update README.md
actions-user Oct 10, 2024
fe64c3f
chore: update README.md
actions-user Oct 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions .github/auto-release.yml

This file was deleted.

Binary file added .github/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 1 addition & 76 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,76 +1 @@
# https://docs.mergify.io/conditions.html
# https://docs.mergify.io/actions.html
pull_request_rules:
- name: "approve automated PRs that have passed checks"
conditions:
- "author~=^(cloudpossebot|renovate\\[bot\\])$"
- "-closed"
- "head~=^(auto-update|renovate)/.*"
- "check-success=test/bats"
- "check-success=test/readme"
- "check-success=test/terratest"
- "check-success=validate-codeowners"
- or:
- "base=master"
- "base=main"
- "base~=^release/v\\d{1,2}$"

actions:
review:
type: "APPROVE"
bot_account: "cloudposse-mergebot"
message: "We've automatically approved this PR because the checks from the automated Pull Request have passed."

- name: "merge automated PRs when approved and tests pass"
conditions:
- "author~=^(cloudpossebot|renovate\\[bot\\])$"
- "-closed"
- "head~=^(auto-update|renovate)/.*"
- "check-success=test/bats"
- "check-success=test/readme"
- "check-success=test/terratest"
- "check-success=validate-codeowners"
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "#commented-reviews-by=0"
- or:
- "base=master"
- "base=main"
- "base~=^release/v\\d{1,2}$"

actions:
merge:
method: "squash"

- name: "delete the head branch after merge"
conditions:
- "merged"
actions:
delete_head_branch: {}

- name: "ask to resolve conflict"
conditions:
- "conflict"
- "-closed"
actions:
comment:
message: "This pull request is now in conflict. Could you fix it @{{author}}? 🙏"

- name: "remove outdated reviews"
conditions:
- or:
- "base=master"
- "base=main"
- "base~=^release/v\\d{1,2}$"
actions:
dismiss_reviews:
changes_requested: true
approved: true
message: "This Pull Request has been updated, so we're dismissing all reviews."

- name: "close Pull Requests without files changed"
conditions:
- "#files=0"
actions:
close:
message: "This pull request has been automatically closed by Mergify because there are no longer any changes."
extends: .github
10 changes: 10 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Upstream changes from _extends are only recognized when modifications are made to this file in the default branch.
_extends: .github
repository:
name: terraform-aws-cicd
description: Terraform Module for CI/CD with AWS Code Pipeline and Code Build
homepage: https://cloudposse.com/accelerate
topics: terraform, terraform-modules, cicd, codepipeline, aws, codebuild, continuous-integration, continuous-delivery, hcl2



25 changes: 25 additions & 0 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Branch
on:
pull_request:
branches:
- main
- release/**
types: [opened, synchronize, reopened, labeled, unlabeled]
push:
branches:
- main
- release/v*
paths-ignore:
- '.github/**'
- 'docs/**'
- 'examples/**'
- 'test/**'
- 'README.md'

permissions: {}

jobs:
terraform-module:
uses: cloudposse/.github/.github/workflows/shared-terraform-module.yml@main
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/chatops.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: chatops
on:
issue_comment:
types: [created]

permissions:
pull-requests: write
id-token: write
contents: write
statuses: write

jobs:
test:
uses: cloudposse/.github/.github/workflows/shared-terraform-chatops.yml@main
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/terratest') }}
secrets: inherit
16 changes: 0 additions & 16 deletions .github/workflows/feature-branch-chatops.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/feature-branch.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/release-branch.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/release-published.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: release
on:
release:
types:
- published

permissions:
id-token: write
contents: write
pull-requests: write

jobs:
terraform-module:
uses: cloudposse/.github/.github/workflows/shared-release-branches.yml@main
secrets: inherit
5 changes: 2 additions & 3 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ permissions:

jobs:
scheduled:
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/scheduled.yml@main
secrets:
github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }}
uses: cloudposse/.github/.github/workflows/shared-terraform-scheduled.yml@main
secrets: inherit
Loading