Граф коммитов

400 Коммитов

Автор SHA1 Сообщение Дата
Shelley Vohr 5fbe6912ab
ci: update Node.js Docker image (#213) 2022-01-24 11:45:01 -05:00
dependabot[bot] bbaed4a2e1
build(deps): bump tmpl from 1.0.4 to 1.0.5 (#210)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 17:58:41 -04:00
dependabot[bot] 5c3b047f19
build(deps): bump url-parse from 1.5.1 to 1.5.3 (#209)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 12:28:13 -05:00
dependabot[bot] 544afbb981
build(deps): bump path-parse from 1.0.6 to 1.0.7 (#207)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2021-08-16 13:17:26 -04:00
Shelley Vohr 9468f00e91
fix: manual/target label removal (#208) 2021-08-16 18:29:57 +02:00
Samuel Attard 4db8bc44a3
fix: paginate commit list 2021-06-23 12:22:39 -07:00
Charles Kerr 199fcaa1dc
fix: add missing 'await' prefix when calling async (#206) 2021-06-17 07:29:29 +02:00
dependabot[bot] 77a9c288e0
build(deps): bump normalize-url from 4.5.0 to 4.5.1 (#205)
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-13 07:26:24 -05:00
Samuel Attard e5594c3d05
fix: branch deletion now works (#203)
We should delete the local branch even if it contains unmerged commits, that's kinda the whole point.
2021-06-03 02:32:18 -07:00
Samuel Attard 26b1c522f3
fix: ensure the temporary branch is in a clean state before backporting (#202)
* fix: ensure the temporary branch is in a clean state before backporting

* spec: fix tests
2021-06-03 02:10:10 -07:00
Samuel Attard 327e080c92
fix: use reasonable buckets 2021-06-01 20:06:22 -07:00
Samuel Attard 9ed9bdd1f1
fix: use histograms instead of counts 2021-06-01 19:55:41 -07:00
Samuel Attard 550a0b9635
fix: register metrics with prometheur register 2021-06-01 19:46:56 -07:00
Samuel Attard 3c50225cf9
feat: add metrics for backport via squash and backport via all 2021-06-01 19:38:28 -07:00
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