forked from Azure/bicep-types-az
-
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.
- Loading branch information
Showing
33 changed files
with
404 additions
and
1,358 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,137 @@ | ||
[ | ||
{ | ||
"taskType": "trigger", | ||
"capabilityId": "AutoMerge", | ||
"subCapability": "AutoMerge", | ||
"version": "1.0", | ||
"config": { | ||
"label": "AutoMerge", | ||
"minMinutesOpen": "5", | ||
"taskName": "Automatically merge PRs with AutoMerge label", | ||
"mergeType": "squash", | ||
"deleteBranches": true, | ||
"enforceDMPAsStatus": true, | ||
"removeLabelOnPush": true, | ||
"usePrDescriptionAsCommitMessage": true | ||
} | ||
}, | ||
{ | ||
"taskType": "trigger", | ||
"capabilityId": "IssueResponder", | ||
"subCapability": "PullRequestResponder", | ||
"version": "1.0", | ||
"config": { | ||
"conditions": { | ||
"operator": "and", | ||
"operands": [ | ||
{ | ||
"name": "isAction", | ||
"parameters": { | ||
"action": "opened" | ||
{ | ||
"version": "1.0", | ||
"tasks": [ | ||
{ | ||
"taskType": "trigger", | ||
"capabilityId": "AutoMerge", | ||
"subCapability": "AutoMerge", | ||
"version": "1.0", | ||
"config": { | ||
"taskName": "Auto merge PRs", | ||
"label": "auto-merge", | ||
"minMinutesOpen": "5", | ||
"mergeType": "squash", | ||
"deleteBranches": true, | ||
"allowAutoMergeInstructionsWithoutLabel": false | ||
} | ||
}, | ||
{ | ||
"taskType": "trigger", | ||
"capabilityId": "IssueResponder", | ||
"subCapability": "PullRequestResponder", | ||
"version": "1.0", | ||
"config": { | ||
"conditions": { | ||
"operator": "and", | ||
"operands": [ | ||
{ | ||
"name": "isAction", | ||
"parameters": { | ||
"action": "opened" | ||
} | ||
}, | ||
{ | ||
"name": "isActivitySender", | ||
"parameters": { | ||
"user": "github-actions[bot]" | ||
} | ||
}, | ||
{ | ||
"name": "titleContains", | ||
"parameters": { | ||
"titlePattern": "Update Generated Types" | ||
} | ||
} | ||
] | ||
}, | ||
"eventType": "pull_request", | ||
"eventNames": [ | ||
"pull_request", | ||
"issues", | ||
"project_card" | ||
], | ||
"taskName": "Automatically approve type generation PRs sent by github-actions[bot]", | ||
"actions": [ | ||
{ | ||
"name": "closeIssue", | ||
"parameters": {} | ||
}, | ||
{ | ||
"name": "isActivitySender", | ||
"name": "reopenIssue", | ||
"parameters": {} | ||
}, | ||
{ | ||
"name": "addLabel", | ||
"parameters": { | ||
"user": "github-actions[bot]" | ||
"label": "AutoMerge" | ||
} | ||
}, | ||
{ | ||
"name": "titleContains", | ||
"name": "approvePullRequest", | ||
"parameters": { | ||
"titlePattern": "Update Generated Types" | ||
"comment": "Automatically approving type generation pull request sent by @github-actions[bot]." | ||
} | ||
} | ||
] | ||
}, | ||
"eventType": "pull_request", | ||
"eventNames": [ | ||
"pull_request", | ||
"issues", | ||
"project_card" | ||
], | ||
"taskName": "Automatically approve type generation PRs sent by github-actions[bot]", | ||
"actions": [ | ||
{ | ||
"name": "closeIssue", | ||
"parameters": {} | ||
}, | ||
{ | ||
"name": "reopenIssue", | ||
"parameters": {} | ||
}, | ||
{ | ||
"name": "addLabel", | ||
"parameters": { | ||
"label": "AutoMerge" | ||
} | ||
} | ||
}, | ||
{ | ||
"taskType": "trigger", | ||
"capabilityId": "IssueResponder", | ||
"subCapability": "PullRequestResponder", | ||
"version": "1.0", | ||
"config": { | ||
"conditions": { | ||
"operator": "and", | ||
"operands": [ | ||
{ | ||
"name": "hasLabel", | ||
"parameters": { | ||
"label": "dependencies" | ||
} | ||
}, | ||
{ | ||
"operator": "not", | ||
"operands": [ | ||
{ | ||
"name": "hasLabel", | ||
"parameters": { | ||
"label": "auto-merge" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "isActivitySender", | ||
"parameters": { | ||
"user": "dependabot[bot]" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "approvePullRequest", | ||
"parameters": { | ||
"comment": "Automatically approving type generation pull request sent by @github-actions[bot]." | ||
"eventType": "pull_request", | ||
"eventNames": [ | ||
"pull_request", | ||
"issues", | ||
"project_card" | ||
], | ||
"taskName": "Approve and apply \"auto-merge\" label to dependabot PRs", | ||
"actions": [ | ||
{ | ||
"name": "approvePullRequest", | ||
"parameters": { | ||
"comment": ":shipit:" | ||
} | ||
}, | ||
{ | ||
"name": "addLabel", | ||
"parameters": { | ||
"label": "auto-merge" | ||
} | ||
} | ||
} | ||
] | ||
] | ||
} | ||
} | ||
} | ||
] | ||
], | ||
"userGroups": [] | ||
} |
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.