Skip to content

Commit d0c205a

Browse files
authored
[WIP] chore: automerge PRs only with automerge label (#139)
* chore: automerge PRs only with automerge label * release: v1.0.37
1 parent deaf345 commit d0c205a

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/create-prs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ jobs:
106106
body: `This PR was created automatically by the @web3-bot as a part of the [Unified CI](https://github.com/ipdxco/unified-github-workflows) project.`
107107
})
108108
core.info(`${pr.data.html_url} created successfully`)
109+
void github.rest.issues.addLabels({
110+
owner: repo.owner.login,
111+
repo: repo.name,
112+
issue_number: pr.number,
113+
labels: ["automerge"]
114+
})
109115
} catch(error) {
110116
core.error(`Couldn't create a PR for ${repo.html_url}/tree/${branch.name}, got: ${error}`)
111117
failed.push({repo, branch})

.github/workflows/merge-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- name: Merge PRs
2222
env:
23-
QUERY: is:pr author:web3-bot state:open archived:false
23+
QUERY: is:pr author:web3-bot state:open archived:false label:automerge
2424
BRANCH: ${{ github.event.inputs.branch }}
2525
DRY_RUN: ${{ github.event.inputs.dry-run }}
2626
uses: actions/github-script@v8

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9+
## [1.0.37] - 2026-02-22
10+
### Changed
11+
- automerge only PRs with automerge label
12+
913
## [1.0.36] - 2026-02-22
1014
### Changed
1115
- added go 1.26 versions of go-release

0 commit comments

Comments
 (0)