forked from cloudposse/terraform-null-label
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Sync github * sync
- Loading branch information
Showing
15 changed files
with
188 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# https://docs.mergify.io/conditions.html | ||
# https://docs.mergify.io/actions.html | ||
pull_request_rules: | ||
- name: "approve automated PRs that have passed checks" | ||
conditions: | ||
- "base=main" | ||
- "-closed" | ||
- "head~=^(auto-update|renovate)/.*" | ||
- "check-success=terraform-module / ci" | ||
- "and: *common_checks" | ||
- "sender-permission>=write" | ||
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: | ||
- "base=main" | ||
- "-closed" | ||
- "head~=^(auto-update|renovate)/.*" | ||
- "check-success=terraform-module / ci" | ||
- "and: *common_checks" | ||
- "#approved-reviews-by>=1" | ||
- "#changes-requested-reviews-by=0" | ||
- "#commented-reviews-by=0" | ||
- "sender-permission>=write" | ||
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 has conflicts, please resolve." | ||
|
||
- name: "remove outdated reviews" | ||
conditions: | ||
- "base=main" | ||
actions: | ||
dismiss_reviews: | ||
changes_requested: true | ||
approved: true | ||
message: "This Pull Request has been updated, so we're dismissing all reviews." | ||
|
||
- name: "close PRs with no files changed" | ||
conditions: | ||
- "#files=0" | ||
actions: | ||
close: | ||
message: "This pull request has been automatically closed by Mergify because there are no longer any changes." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
{ | ||
"enabled": false | ||
"extends": [ | ||
"config:base", | ||
":preserveSemverRanges" | ||
], | ||
"labels": ["auto-update"], | ||
"dependencyDashboardAutoclose": true, | ||
"enabledManagers": ["terraform"], | ||
"terraform": { | ||
"ignorePaths": ["**/context.tf", "examples/**"] | ||
}, | ||
"postUpgradeTasks": { | ||
"commands": ["make readme"], | ||
"fileFilters": ["README.md"], | ||
"executionMode": "update" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: feature-branch-chatops | ||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
permissions: | ||
pull-requests: write | ||
id-token: write | ||
contents: write | ||
|
||
jobs: | ||
terraform-module: | ||
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/feature-branch-chatops.yml@main | ||
secrets: | ||
github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: feature-branch | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- release/** | ||
types: [opened, synchronize, reopened, labeled, unlabeled] | ||
|
||
permissions: | ||
pull-requests: write | ||
id-token: write | ||
contents: write | ||
|
||
jobs: | ||
terraform-module: | ||
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/feature-branch.yml@pass_repo | ||
secrets: | ||
github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: release-branch | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- release/** | ||
paths-ignore: | ||
- '.github/**' | ||
- 'docs/**' | ||
- 'examples/**' | ||
- 'test/**' | ||
|
||
permissions: | ||
contents: write | ||
id-token: write | ||
|
||
jobs: | ||
terraform-module: | ||
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release-branch.yml@pass_repo | ||
secrets: | ||
github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }} |
Oops, something went wrong.