Samuel Attard
f63b065bb8
fix: ensure backport checks are run on every PR sync
2021-06-01 16:52:52 -07:00
Samuel Attard
023a4d710e
fix: set title / summary on queued backport check
2021-06-01 16:44:18 -07:00
Samuel Attard
5be8fc5de0
feat: softer backport requirements, leave check pending if the label is missing
2021-06-01 16:25:15 -07:00
Jeremy Rose
849694a4f6
feat: support default branch named main ( #200 )
...
* feat: support default branch named main
* Update src/index.ts
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
* use pr.base.repo.default_branch
* use context to find default branch
* fix tests
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2021-06-01 10:55:24 -07:00
dependabot[bot]
4de57fe09c
build(deps): bump ws from 7.4.4 to 7.4.6 ( #201 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.4.4 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.4.4...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 07:48:24 +02:00
Jeremy Rose
836f5e44de
chore: skip explicit checkout of master ( #199 )
2021-05-27 18:40:30 -07:00
dependabot[bot]
7f9393a2d9
build(deps): bump browserslist from 4.16.4 to 4.16.6 ( #198 )
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.4 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.4...4.16.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 11:47:41 -04:00
Shelley Vohr
ed8fea71bc
fix: remove old semver label on backport updated ( #197 )
2021-05-10 11:15:52 +02:00
Shelley Vohr
487a4c078c
fix: prevent backporting to own base branch ( #196 )
2021-05-07 11:25:28 +02:00
Antón Molleda
d37d48ac2d
feat: check PR has backport information ( #190 )
...
* feat: check PR has backport information
Checks if PRs to the master branch contain backport information and
fails if not. Backport information is one of the following:
* A `no-backport` label
* A `target/x-y-z` label
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ref: https://github.com/electron/governance/blob/master/wg-releases/meeting-notes/2021-04-07.md
* chore: pr feedback
* chore: pr feedback
* Update src/constants.ts
Updating message to trigger CI
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
2021-04-29 14:20:13 -07:00
Shelley Vohr
50e711d546
fix: label removal from original PR ( #195 )
2021-04-22 20:54:37 +02:00
Shelley Vohr
5493255657
fix: check success on failed backports ( #193 )
2021-04-22 17:52:11 +02:00
Shelley Vohr
500f6d7a27
chore: update misc deps ( #191 )
...
* chore: update some deps
* chore: update husky lint hooks
2021-04-21 10:07:26 +02:00
dependabot[bot]
d7d8bc370d
build(deps): bump y18n from 3.2.1 to 3.2.2 ( #189 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 12:52:30 -07:00
Shelley Vohr
63cf7b0616
fix: check stall when both pick approaches failed ( #188 )
2021-03-15 11:27:53 -04:00
Shelley Vohr
b7864b8da0
fix: targetBranch -> tempBranch ( #187 )
2021-03-01 08:21:28 -08:00
Shelley Vohr
1648c2feac
feat: cherry-pick squash commit ( #186 )
2021-02-24 12:42:01 -08:00
Shelley Vohr
47b231b7e5
chore: clean up trop comment copy
2021-02-16 15:35:49 -08:00
Shelley Vohr
fad08f33b2
chore: log breadcrumb comment better
2021-02-04 13:37:59 -08:00
Shelley Vohr
bac028386a
fix: properly label nested backport backports ( #183 )
2021-02-02 13:05:19 -08:00
Shelley Vohr
3d2168bef1
fix: better backport pattern
2021-01-28 11:46:18 -08:00
Shelley Vohr
cf8d372a30
fix: isBot conditional
2021-01-27 10:43:20 -08:00
Shelley Vohr
4978646f26
fix: add backport label to new manual backports
2021-01-26 19:47:03 -08:00
Shelley Vohr
d548b37bd0
feat: better bookkeeping for nested backports ( #182 )
2021-01-26 11:34:14 -08:00
Shelley Vohr
266390a7fe
fix: make 'of' a non-capturing group
2021-01-20 13:23:44 -08:00
Shelley Vohr
8feaf3dea0
fix: tweak manual backport pattern
2021-01-19 09:48:14 -08:00
Shelley Vohr
56f7d1a317
fix: pr.number -> oldPRNumber
2021-01-19 09:35:59 -08:00
Shelley Vohr
7d7efda97e
fix: label updates on manual backports ( #181 )
2021-01-13 16:01:05 -08:00
Shelley Vohr
14a1ed553b
fix: backport label applied to backport not original ( #179 )
2021-01-07 15:44:30 -08:00
Shelley Vohr
777536f587
fix: label semver-minor backports with requested ( #178 )
2020-12-17 12:30:32 -08:00
Shelley Vohr
55615207c1
fix: label manual backports with semver labels ( #177 )
2020-12-16 13:14:23 -08:00
Shelley Vohr
bc2cc09430
fix: trop backporting on close unmerged ( #175 )
2020-12-15 14:29:45 -08:00
Shelley Vohr
8a103193e1
feat: allow users with write access to backport ( #172 )
2020-12-14 10:44:02 -08:00
dependabot[bot]
4e0f3bfe3f
build(deps): bump ini from 1.3.5 to 1.3.7 ( #173 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 10:56:13 -08:00
Samuel Attard
3c4b159277
build: update yarn lock
2020-12-04 13:34:43 -08:00
Samuel Attard
036bec8e75
feat: copy semver/* labels from the original PR to the backported PR ( #169 )
2020-12-03 10:49:48 -08:00
Shelley Vohr
d2d4c3acef
fix: make backport-to more flexible ( #168 )
2020-12-01 16:00:48 -08:00
Shelley Vohr
30f65e0b2b
test: improve trop labeling specs ( #167 )
2020-10-23 13:59:38 -07:00
Michaela Laurencin
a03f922369
fix: labels when trop PR closed unmerged ( #165 )
...
* fix: labels when trop PR closed unmerged
* Add methods to collapse merge and close sibling paragraphs
* Amend with suggested narrowing
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2020-10-23 09:47:32 -07:00
Michaela Laurencin
46a4464cd9
build: add lint-staged ( #166 )
2020-10-22 15:46:16 -07:00
Shelley Vohr
cf9fb9f2b4
fix: delete proper ref ( #164 )
...
* fix: delete proper ref
* fix: label name not label
* fix spec
2020-10-19 14:18:53 -07:00
Shelley Vohr
c6b87a3523
feat: fallback to Release WG for bp approval ( #163 )
2020-10-19 13:56:12 -07:00
dependabot[bot]
6b62f3e77b
build(deps): bump node-fetch from 2.6.0 to 2.6.1 ( #161 )
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 19:52:36 -07:00
Shelley Vohr
e163a480a9
fix: PRChange typecheck ( #160 )
2020-08-31 11:23:37 -07:00
dependabot[bot]
74169858e8
build(deps): bump lodash from 4.17.15 to 4.17.19 ( #159 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-19 19:07:13 -07:00
Shelley Vohr
f3facf6f85
fix: remove in-flight label when PRs are closed ( #158 )
2020-07-15 14:24:01 -07:00
Shelley Vohr
a49b3d4267
fix: labelExistsOnPR check in isSemverMinorPR
2020-07-01 10:31:23 -07:00
Shelley Vohr
10bde2b660
chore: add logging for isSemverMinorPR
2020-07-01 10:12:44 -07:00
Shelley Vohr
a6f46930e9
feat: automatically label semver-minor pr backports ( #157 )
2020-06-30 09:52:09 -07:00
Shelley Vohr
7c002cc0de
docs: improve env var docs ( #156 )
2020-06-29 08:58:04 -07:00