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

400 Коммитов

Автор SHA1 Сообщение Дата
John Kleinschmidt 096bc61e86
Merge pull request #116 from electron/dependabot/npm_and_yarn/handlebars-4.0.14
build(deps): bump handlebars from 4.0.12 to 4.0.14
2019-07-16 11:05:46 -04:00
dependabot[bot] dc036ede78
build(deps): bump handlebars from 4.0.12 to 4.0.14
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.0.14.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/v4.0.14/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.0.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-16 07:21:17 +00:00
dependabot[bot] 433b247bb7 build(deps): bump lodash from 4.17.11 to 4.17.14 (#114)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 21:47:11 -07:00
Shelley Vohr 07290a01c5
chore: update probot to v9 (#112)
* chore: update probot to v9

* fix test failures
2019-07-10 10:53:46 -05:00
Shelley Vohr 012869b796
test: clean up spec utility fn mocks (#111) 2019-07-02 15:09:27 -07:00
Shelley Vohr d91087a578
refactor: extract some manual backport operations (#110) 2019-07-02 11:27:10 -07:00
Shelley Vohr 1795595324 move backport to branch/label to ops (#109) 2019-07-02 09:44:07 -05:00
Shelley Vohr 1b47f68f0a fix: invalid backports when links are used (#108) 2019-06-21 19:43:16 -07:00
John Kleinschmidt 32d11885fe
Merge pull request #106 from electron/extract-bot-names
feat: allow consumers to set bot names in env
2019-06-18 13:45:25 -04:00
Shelley Vohr 245f159afc feat: allow consumers to set bot names in env 2019-06-17 15:53:00 -07:00
dependabot[bot] 3aac91dc41 build(deps): bump js-yaml from 3.12.0 to 3.13.1 (#104)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-06 08:03:13 -07:00
Shelley Vohr 4d8ffcc83f fix: double commenting on manual backport open (#103) 2019-05-30 14:30:38 -07:00
Shelley Vohr 18182948d5
fix: duplicate issue comments for status changes (#102) 2019-05-24 07:38:52 -07:00
Shelley Vohr 1f8f4b462f
chore: remove unused config file for label prefixes (#99)
* chore: remove unused config file for label prefixes

* remove accidental import
2019-05-08 08:47:31 -07:00
Shelley Vohr 36a44aa854 feat: enable trop to delete its own branches when they're merged (#98)
* feat: enable trop to delete its own branches when they're merged

* fix spec

* constants are good
2019-04-23 09:48:20 -07:00
Shelley Vohr 8abd3dadbe
fix: trop[bot] needs to be a fast-track user (#97) 2019-04-22 19:59:50 -07:00
Samuel Attard 3063a36887 feat: allow fasttrack backports (#96) 2019-04-22 15:43:21 -07:00
Samuel Attard a6e65df998 feat: remove need for fork user and fork token (#95) 2019-04-22 14:49:30 -07:00
Samuel Attard 99c73ef53a
fix: explcitly say maintainers cant modify 2019-04-18 17:54:40 -07:00
Samuel Attard 677dbed39d chore: split operations into their individual uses (#94) 2019-04-18 17:22:17 -07:00
Samuel Attard 4ba25b9552
fix: exclude electron-bot from the backport requirements so roller works (#92) 2019-04-18 13:07:20 -07:00
Shelley Vohr c6ec6e86cc fix: revert maintainer_can_modify param (#93) 2019-04-18 13:03:04 -07:00
Samuel Attard 23ecf61f2b
chore: change a failed BP to be a neutral check (#89) 2019-04-15 20:59:22 -04:00
Shelley Vohr f76980c3f7 refactor: start moving tasks to operations dir (#88) 2019-04-15 20:58:18 -04:00
Samuel Attard 456a18a0d8
build: move to circleci (#90)
* build: move to circleci

* spec: make tests work when system git prefers ssh
2019-04-15 20:57:19 -04:00
Samuel Attard c49ed43130
feat: add a GitHub check that prevents non-master non-backports (#85)
* feat: add a GitHub check that prevents non-master non-backports

When a PR is raised against a non-master branch Trop will try to figure out which
PR it is "backporting".  If it can't determine it Trop will mark that PR as
"failed" with a GitHub Check.

This ensures that no change can land in a release branch without having a
corresponding commit / PR in master.  In cases where this must be overridden
an Admin can bypass the merge check.

* refactor: provide a clear reason in the failed check what exactly the user needs to do to fix the check

* Apply suggestions from code review

Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com>
2019-04-15 20:29:50 -04:00
Shelley Vohr 9b4c87b522
refactor: pull out constants, interfaces and enums (#87)
* refactor: pull out constants and enums

* abstract to enums
2019-04-05 08:06:48 -07:00
Shelley Vohr 151f0c51df
fix: don't label PR title with target branch (#86) 2019-03-11 13:18:59 -07:00
Samuel Attard 1cec45f2ce
feat: support private repositories (#84)
* feat: support private repositories

* feat: support authenticated clones

* feat: support authenticated remotes

* feat: support authenticated patch fetch-requests

* feat: for private repos, make the PR as the fork user not the bot (the
bot does not have access to the fork)

* chore: update octokit

* fix: dont mark backports by the fork user as maintainer created backports

* chore: fix linting errors in utils.ts
2019-02-08 15:08:49 -08:00
Samuel Attard 6a1897c3bd chore: update usage (#83) 2019-02-08 13:20:19 -08:00
Samuel Attard 81d03e5e56
feat: support authenticated clones (#82) 2019-02-08 13:10:37 -08:00
Shelley Vohr 6edac254df
chore: add wg-releases codeownership (#81) 2019-02-06 08:14:48 -08:00
Shelley Vohr 7787f727aa
fix: allow maintainers to modify trop PRs (#80) 2019-02-04 08:43:06 -08:00
Shelley Vohr fcd94bee57
fix: try to update manual if target label still exists (#79) 2019-01-30 10:40:19 -08:00
Shelley Vohr 2785717fa0 feat: update PRs when manual backports are opened (#78) 2019-01-18 12:28:39 -08:00
Shelley Vohr d9ce71dfab
feat: update to latest @octokit/rest (#77)
* feat: update to latest @octokit/rest

* update yarn.lock

* update node to 10.2.0

* owner and repo are auto-injected
2019-01-07 10:14:40 -08:00
Shelley Vohr 35b9516730
feat: allow trop to label manual backports (#76)
* feat: allow trop to label manual backports

* fix: ensure label exists before attempting deletion
2019-01-04 10:27:26 -08:00
Shelley Vohr 650d37dd1b feat: error on unauthorized users (#75)
* feat: error on unauthorized users

* shame the unauthorized human
2018-12-14 17:36:25 -06:00
Shelley Vohr ab9d063d5d
fix: correctly mark manual backports in-flight (#69) 2018-11-30 10:34:22 -08:00
Shelley Vohr 2e66d38b67
chore: add codeowners file (#70) 2018-11-30 10:31:29 -08:00
Shelley Vohr 2a76f058e9
fix: safer regex filtering for branch names (#66)
* fix: safer regex filtering for branch names

* l o w e r c a s e
2018-11-07 15:31:46 -08:00
Samuel Attard 954a1e0f6f fix: replace * with x when filtering branch names (#65) 2018-11-04 20:41:16 -08:00
Shelley Vohr 30e0aabe21
fix: actually run index specs (#63)
* fix: actually run index specs

* finish the import/export dance
2018-11-02 21:13:16 -07:00
Samuel Attard 7fe7d2b445
fix: try mark as failure without annotations when the GitHub API fails (#64)
Normally this means we send invalid annotations, so let's just send a
failure without them.

E.g. https://github.com/electron/electron/pull/15541
2018-11-03 11:12:19 +11:00
Shelley Vohr 194273ad60
feat: add concept of in-flight PRs (#62) 2018-11-01 11:48:52 -07:00
Shelley Vohr a73aa8c66b
feat: label backport PRs with target branch (#61) 2018-10-19 20:28:46 -07:00
Shelley Vohr a14c216527
fix: make trop post explicit failure comments (#60) 2018-10-19 09:36:04 -07:00
Shelley Vohr a4bc7c6d88 chore: reduce electron specificity of trop (#55)
* chore: reduce electron specificity

* chore: use config.yml instead of .config.yml
2018-10-19 11:56:24 +11:00
Samuel Attard b5b6ea7cdf
spec: add some tests (#59) 2018-10-19 11:11:25 +11:00
Samuel Attard 8d0e298266
fix: use correct note index (#58) 2018-10-18 16:23:27 +11:00