aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2020-03-10 16:21:36 +0000
committerMenny Even Danan <menny@evendanan.net>2020-03-10 16:21:36 +0000
commit90ab8fb189e36d61a6c8d711b014af45b0e42e4a (patch)
tree507d47bbd019a751c6adc61324a5b908ab11a9d2 /.github/workflows
parent2594b8ba8598b35ea7f4bc445b349f05ce933231 (diff)
downloadAnySoftKeyboard-90ab8fb189e36d61a6c8d711b014af45b0e42e4a.tar.gz
AnySoftKeyboard-90ab8fb189e36d61a6c8d711b014af45b0e42e4a.tar.bz2
automerge local branches
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/automerge.yml31
-rw-r--r--.github/workflows/localization_update.yml1
-rw-r--r--.github/workflows/packs_md_update.yml1
-rw-r--r--.github/workflows/third_party_update.yml5
4 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml
new file mode 100644
index 000000000..85c6dc0d2
--- /dev/null
+++ b/.github/workflows/automerge.yml
@@ -0,0 +1,31 @@
+name: automerge
+on:
+ pull_request:
+ types:
+ - labeled
+ - unlabeled
+ - synchronize
+ - opened
+ - edited
+ - ready_for_review
+ - reopened
+ - unlocked
+ pull_request_review:
+ types:
+ - submitted
+ status: {}
+jobs:
+ automerge:
+ runs-on: ubuntu-latest
+ steps:
+ - name: automerge
+ uses: "pascalgn/automerge-action@v0.7.5"
+ env:
+ GITHUB_TOKEN: "${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}"
+ MERGE_LABELS: "automerge,!wip"
+ MERGE_REMOVE_LABELS: "automerge"
+ MERGE_METHOD: "merge"
+ MERGE_COMMIT_MESSAGE: "pull-request-title-and-description"
+ MERGE_FORKS: "false"
+ MERGE_RETRIES: "6"
+ MERGE_RETRY_SLEEP: "10000"
diff --git a/.github/workflows/localization_update.yml b/.github/workflows/localization_update.yml
index f0dc2f17b..2300c03b0 100644
--- a/.github/workflows/localization_update.yml
+++ b/.github/workflows/localization_update.yml
@@ -37,3 +37,4 @@ jobs:
body: 'Generated from latest _master_ strings and crowdin data.'
team-reviewers: add-on-maintainers
branch: 'bot-pr/localization-update'
+ labels: automerge
diff --git a/.github/workflows/packs_md_update.yml b/.github/workflows/packs_md_update.yml
index 4adefaf37..ab0529a41 100644
--- a/.github/workflows/packs_md_update.yml
+++ b/.github/workflows/packs_md_update.yml
@@ -37,3 +37,4 @@ jobs:
body: 'Generated from latest _master_ addons packages.'
team-reviewers: add-on-maintainers
branch: 'bot-pr/packs-list-update'
+ labels: automerge
diff --git a/.github/workflows/third_party_update.yml b/.github/workflows/third_party_update.yml
index a74ce384f..ab1f6981d 100644
--- a/.github/workflows/third_party_update.yml
+++ b/.github/workflows/third_party_update.yml
@@ -53,6 +53,7 @@ jobs:
body: 'Latest version found at https://github.com/gradle/gradle/releases'
team-reviewers: infra, maintainers
branch: 'bot-pr/gradle-update'
+ labels: automerge
robolectric-update:
runs-on: ubuntu-18.04
container: menny/ndk_ask:1.13.6
@@ -87,6 +88,7 @@ jobs:
body: 'Latest version found at https://github.com/robolectric/robolectric/releases'
team-reviewers: infra, maintainers
branch: 'bot-pr/robolectric-update'
+ labels: automerge
build-tools-update:
runs-on: ubuntu-18.04
container: menny/ndk_ask:1.13.6
@@ -120,6 +122,7 @@ jobs:
body: 'Latest version found in `sdkmanager --list` call.'
team-reviewers: infra, maintainers
branch: 'bot-pr/build-tools-update'
+ labels: automerge
error-prone-update:
runs-on: ubuntu-18.04
container: menny/ndk_ask:1.13.6
@@ -161,6 +164,7 @@ jobs:
body: 'Latest version found at https://github.com/tbroyer/gradle-errorprone-plugin/releases and https://github.com/google/error-prone/releases.'
team-reviewers: infra, maintainers
branch: 'bot-pr/error-prone-update'
+ labels: automerge
google-format-update:
runs-on: ubuntu-18.04
container: menny/ndk_ask:1.13.6
@@ -199,3 +203,4 @@ jobs:
body: 'Latest version found at https://github.com/sherter/google-java-format-gradle-plugin/releases and https://github.com/google/google-java-format/releases.'
team-reviewers: infra, maintainers
branch: 'bot-pr/google-format-update'
+ labels: automerge