Commit graph

493 commits

Author SHA1 Message Date
Mislav Marohnić
0639ef8445 Cleanup unnecessary workflow bits 2020-01-08 17:17:40 +01:00
Mislav Marohnić
7edde9306a Move Windows build scripts under script/ 2020-01-07 15:51:57 +01:00
Mislav Marohnić
732b3ddbe3 Merge pull request #198 from github/build-matrix
Use build matrix for CI job
2020-01-07 15:38:14 +01:00
Mislav Marohnić
82b0986a6c Use build matrix for CI job
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix
2020-01-06 20:42:18 +01:00
Corey Johnson
ad6167dd6b Merge pull request #189 from github/revert-184-release-notes
Revert "Automatically collect PR titles into `changelog.json`"
2020-01-06 09:50:20 -08:00
Corey Johnson
e3cc9111de Merge remote-tracking branch 'origin/master' into revert-184-release-notes 2020-01-06 09:37:18 -08:00
Nate Smith
bce5d21fa1 Merge pull request #188 from github/other-ci
Run CI on macos and windows
2019-12-23 23:38:28 -05:00
Nate Smith
2e192d7284 be more descriptive 2019-12-23 22:00:58 -06:00
Mislav Marohnić
fb0472a868 Merge pull request #176 from github/issue-pr-templates
Add template support to `issue create`, `pr create`
2019-12-23 13:41:15 +01:00
Corey Johnson
2fa70eb2b3 Revert "Automatically collect PR titles into changelog.json" 2019-12-20 10:38:23 -08:00
vilmibm
5c05b60ab2 give unique names 2019-12-20 10:29:12 -06:00
vilmibm
2ba17b4126 build on all three supported OSs 2019-12-20 10:24:34 -06:00
Nate Smith
4ae1193684 Merge pull request #186 from github/issue-list-no-assignee
Fix `issue list` re: issues that have an assignee
2019-12-20 10:22:25 -06:00
Mislav Marohnić
d553f45bd1 Replace goto with break <label>
Labels are neat, but let's not use them for control flow just yet unless
it REALLY improves on any other alternative.
2019-12-20 15:05:37 +01:00
Mislav Marohnić
9c36c7bae9 Ensure that string flags are reset between test runs 2019-12-20 13:17:02 +01:00
Mislav Marohnić
00cede9e5f Fix issue list re: issues that have an assignee
Given the GraphQL query:

    issues(filterBy: {assignee: $assignee})

It turns out that passing a query variable `"assignee": null` is NOT
equivalent to omitting the variable altogether:

- `"assignee": null` seems to filter out issues that HAVE an assignee;
- omitting `assignee` correctly returns all issues.
2019-12-20 13:07:11 +01:00
Nate Smith
cbecae73b7 Merge pull request #184 from github/release-notes
Automatically collect PR titles into `changelog.json`
2019-12-19 16:08:53 -06:00
Nate Smith
ade69a403c Merge pull request #178 from github/issues-disabled
Warn about repo issues disabled on `issue status/list/create`
2019-12-19 15:39:07 -06:00
Nate Smith
58a6cbc46e Merge pull request #179 from github/pr-checks-test
Add tests for `pr status` reviews, checks, and blank slate output
2019-12-19 15:33:06 -06:00
Nate Smith
c852db7708 Merge pull request #180 from github/pr-status-green
Print `pr status` numbers in green
2019-12-19 15:31:35 -06:00
Corey Johnson
fed380b184 Update changelog 2019-12-19 13:22:34 -08:00
Nate Smith
05b92dbb95 Merge pull request #168 from github/goodbye-migration
Remove migration function
2019-12-19 15:19:01 -06:00
Corey Johnson
3f171066f6 Rename action 2019-12-19 13:16:06 -08:00
Nate Smith
839e4114df Merge pull request #148 from github/msi-action
Automate Windows packaging
2019-12-19 15:08:25 -06:00
vilmibm
06d90d5e46 automatically produce MSI files for releases
This commit:

- Adds config for building Windows installers
- Adds an action for fetching exe files built by goreleaser
- Adds an action for building Windows installers
- Adds an action for adding MSI files to an existing GH release
- Adds MSI signing to our release flow
- Disables homebrew formula bumping for prereleases
- Allows the release asset copying action to copy windows assets
2019-12-19 15:03:03 -06:00
Nate Smith
67c4d5cdc0 Merge pull request #183 from github/draft-code-of-conduct
Add code-of-conduct.md
2019-12-19 14:59:23 -06:00
Lee Reilly
1b6ca046e5 Add first draft of CODE-OF-CONDUCT.md 2019-12-19 12:40:03 -08:00
Corey Johnson
314a82a7a8 Destructure correctly 2019-12-19 12:00:06 -08:00
Corey Johnson
dd1651af21 Send sha 2019-12-19 11:54:50 -08:00
Corey Johnson
ed1bcd2d21 Change changelog 2019-12-19 11:14:19 -08:00
Mislav Marohnić
f46380550c Merge pull request #171 from github/repo-language
Clarify repo flag language
2019-12-19 18:57:11 +01:00
Mislav Marohnić
f39d57862d Clarify -R format 2019-12-19 18:55:31 +01:00
Mislav Marohnić
3346e7b8dc Print pr status numbers in green
We use green to signify "open" state of issues & PRs in `list` commands
(as opposed to red for "closed" and purple for "merged" state), so let's
be consistent in `status` commands too, where all displayed items are
guaranteed to be open.
2019-12-19 17:50:44 +01:00
Mislav Marohnić
9ddd50ffa9 Add tests for pr status reviews and checks output 2019-12-19 17:37:57 +01:00
Mislav Marohnić
fd1da2f0f0 Add test for pr status blank slate 2019-12-19 16:54:24 +01:00
Mislav Marohnić
bd9b3b9bb5 Add tests for issue status/list/create on repos with issues disabled 2019-12-19 15:54:08 +01:00
Mislav Marohnić
aeb7f337d2 Ensure issue create fails fast if issues are disabled
Before, a person would be prompted for title & body before
unconditionally failing due to issues being disabled.
2019-12-19 15:44:20 +01:00
Mislav Marohnić
66534e504b Warn about repo issues disabled on issue create 2019-12-19 15:44:20 +01:00
Mislav Marohnić
915dd8b0ef Warn about repo issues disabled on issue status/list 2019-12-19 15:44:20 +01:00
Mislav Marohnić
d9ca764ac2 Look up the repository only once in issue status GraphQL 2019-12-19 15:44:20 +01:00
Mislav Marohnić
d5ba3de751 Add template support to issue create, pr create
If multiple templates are found, the user is prompted to select one.

The templates are searched for, in order of preference:

- issues:
  1. `.github/ISSUE_TEMPLATE/*.md`
  2. `.github/ISSUE_TEMPLATE.md`
  3. `ISSUE_TEMPLATE/*.md`
  4. `ISSUE_TEMPLATE.md`
  5. `docs/ISSUE_TEMPLATE/*.md`
  6. `docs/ISSUE_TEMPLATE.md`

- pull requests:
  1. `.github/PULL_REQUEST_TEMPLATE/*.md`
  2. `.github/PULL_REQUEST_TEMPLATE.md`
  3. `PULL_REQUEST_TEMPLATE/*.md`
  4. `PULL_REQUEST_TEMPLATE.md`
  5. `docs/PULL_REQUEST_TEMPLATE/*.md`
  6. `docs/PULL_REQUEST_TEMPLATE.md`

The filename matches are case-insensitive.
2019-12-18 22:15:20 +01:00
Corey Johnson
0918b20413 Compile 2019-12-18 11:24:57 -08:00
Corey Johnson
83bf7df765 Get content 2019-12-18 09:21:55 -08:00
Corey Johnson
5c4a5ec6db Fix space 2019-12-17 16:20:38 -08:00
Corey Johnson
4e61c3ea73 Fix syntax 2019-12-17 16:19:30 -08:00
Corey Johnson
101bcc6ecd Add checkout 2019-12-17 16:16:27 -08:00
Corey Johnson
c9d8600107 Run correct file 2019-12-17 16:12:01 -08:00
Corey Johnson
c8374ecc7f Add build 2019-12-17 16:03:06 -08:00
Corey Johnson
33bad4098a Add change log 2019-12-17 14:37:41 -08:00
Amanda Pinsker
de814595f5 Clarify repo flag language 2019-12-17 11:22:41 -05:00