Skip to content

Commit 1b9a3d0

Browse files
authored
Merge branch 'main' into all-contributors/add-wi5nia
2 parents 3753412 + e9cb750 commit 1b9a3d0

File tree

87 files changed

+17
-54
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+17
-54
lines changed

.github/allowed-actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = [
2323
'juliangruber/approve-pull-request-action@v1',
2424
'juliangruber/find-pull-request-action@v1',
2525
'juliangruber/read-file-action@v1',
26-
'pascalgn/automerge-action@135f0bdb927d9807b5446f7ca9ecc2c51de03c4a',
26+
'pascalgn/automerge-action@c9bd182',
2727
'peter-evans/create-issue-from-file@v2',
2828
'peter-evans/create-pull-request@v2',
2929
'rachmari/[email protected]',

.github/workflows/automerge.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,17 @@ on:
2020
jobs:
2121
automerge:
2222
runs-on: ubuntu-latest
23-
if: contains(github.event.pull_request.labels.*.name, 'automerge')
23+
if: contains(github.event.pull_request.labels.*.name, 'automerge') || contains(github.event.pull_request.labels.*.name, 'autosquash')
2424
steps:
2525
- name: automerge
26-
uses: "pascalgn/automerge-action@135f0bdb927d9807b5446f7ca9ecc2c51de03c4a"
26+
uses: "pascalgn/automerge-action@c9bd182"
2727
env:
2828
GITHUB_TOKEN: "${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}"
29-
MERGE_LABELS: "automerge"
30-
MERGE_REMOVE_LABELS: ""
29+
MERGE_METHOD_LABELS: "automerge=merge,autosquash=squash"
3130
MERGE_COMMIT_MESSAGE: "pull-request-title"
3231
MERGE_METHOD: "merge"
3332
MERGE_FORKS: "true"
3433
MERGE_RETRIES: "50"
35-
MERGE_RETRY_SLEEP: "10000"
36-
UPDATE_LABELS: "automerge"
34+
MERGE_RETRY_SLEEP: "10000" # ten seconds
35+
UPDATE_LABELS: "automerge,autosquash"
3736
UPDATE_METHOD: "merge"

.github/workflows/autosquash.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.
-68.6 KB

assets/images/contribution_cta.png

-31.1 KB
-49.4 KB
-24.5 KB

0 commit comments

Comments
 (0)