1942 Commits

Author SHA1 Message Date
Mike McQuaid
d2fc08d942
GitHub Actions cleanup
- Add consistent spacing
- Remove `pull_request: []` warning
- remove identical, implicit `name` usage
- use `actions/cache@v1` for compatibility
2020-08-13 14:54:22 +01:00
Baffour Adu Boampong
6c266a6964
Merge branch 'master' into mlh-outdated-packages 2020-08-13 13:18:08 +00:00
Mike McQuaid
e2a2d791ba
Merge pull request #8321 from dtrodrigues/prerelease-tag
audit: check GitHub tags for prerelease status
2020-08-13 08:52:55 +01:00
Markus Reiter
b48bc316e0 Use CLI::Parser for cask commands. 2020-08-13 05:15:15 +02:00
Dustin Rodrigues
0bf7773a0b audit: add existing prerelease formulae to allowlist 2020-08-12 21:34:07 -04:00
Dustin Rodrigues
4723e65056 audit: check formula version against prerelease allowlist version 2020-08-12 21:33:37 -04:00
Seeker
6d9bf7286e
Merge pull request #8183 from SeekingMeaning/version/tokens
version: add major, minor, patch methods
2020-08-12 10:39:30 -07:00
Dustin Rodrigues
1c10f51f98 audit: check GitHub tags for prerelease status 2020-08-12 10:39:28 -04:00
Baffour Adu Boampong
e16ec86026 remove line which converts formula names into lowercase 2020-08-12 14:29:23 +00:00
Seeker
671179d483 utils/github: add check_for_duplicate_pull_requests
Moved from dev-cmd/bump-formula-pr to utils/github
2020-08-11 19:26:03 -07:00
Seeker
e27f7b0ed1 audit: use version token helper methods 2020-08-11 12:40:35 -07:00
Issy Long
2cf655fe98
Merge pull request #8304 from PurpleBooth/fix-warning
Correct warning
2020-08-11 20:15:08 +01:00
Billie Thompson
705f26734a
Correct warning
Currently, if you open up a action generated by the tap-new command in
the github GUI, you get a warning saying "pull_requests should be an
object". This fixes that.

This wasn't stopping anything working currently, though I suppose it may
in the future.

Co-authored-by: Issy Long <me@issyl0.co.uk>
2020-08-11 20:03:30 +02:00
Baffour Adu Boampong
2ff41ff7f1
Update Library/Homebrew/dev-cmd/bump.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-08-11 15:29:22 +00:00
Baffour Adu Boampong
22a1da1e2c
Update Library/Homebrew/dev-cmd/bump.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-08-11 15:29:05 +00:00
Mike McQuaid
b8f1cf3561
Merge pull request #8287 from SeekingMeaning/spdx/fix-latest_tag-error
update-license-data: fix latest_tag error
2020-08-11 09:01:08 +01:00
Baffour Adu Boampong
ad2809b615
Merge branch 'master' into mlh-outdated-packages 2020-08-10 21:21:09 +00:00
Markus Reiter
1644ec2f50
Merge pull request #8288 from PurpleBooth/add-missing-id
Fix broken github action when running brew tap-new
2020-08-10 21:21:52 +02:00
Billie Thompson
b5c98090d0
Add missing id
This will always fail until the cache step can refer to setup step
2020-08-10 20:52:47 +02:00
Seeker
f345f554c8 update-license-data: fix latest_tag error
Add latest_tag method to utils/spdx
2020-08-10 11:32:07 -07:00
Mike McQuaid
4de4c3d4d4
Merge pull request #8192 from Bo98/prof-args-fix
dev-cmd/prof: improve arg passing
2020-08-10 09:57:41 +01:00
Mike McQuaid
0d8975804b
Merge pull request #8201 from Rylan12/audit-license-deprecated
audit: forbid deprecated licenses with --strict
2020-08-10 08:48:28 +01:00
Markus Reiter
8a32954940 Move cask/all to just cask. 2020-08-09 01:34:07 +02:00
Rylan Polster
fb5b541dcd audit: forbid deprecated licenses with --strict 2020-08-07 13:39:27 -04:00
Seeker
cab2c99641
Merge pull request #8149 from SeekingMeaning/python-logging
bump-formula-pr, utils/pypi: tweak log messages
2020-08-07 08:18:26 -07:00
Mike McQuaid
4c23fd0156
Merge pull request #8215 from SeekingMeaning/spdx/util
utils: add SPDX module
2020-08-07 10:38:45 +01:00
Mike McQuaid
a19a1d377a
Merge pull request #8237 from MikeMcQuaid/more-workflows-cleanup
Cleanup more GitHub Actions usage
2020-08-07 08:53:04 +01:00
Markus Reiter
56ed27af15
Merge pull request #8187 from reitermarkus/args-verbose-debug
Remove usages of `Homebrew.args.verbose?` and `Homebrew.args.debug?`.
2020-08-06 20:55:24 +02:00
Mike McQuaid
3e4da13934
Cleanup more GitHub Actions usage
Increase consistency between workflows, use more of our actions and
`@main`.
2020-08-06 19:35:39 +01:00
Seeker
36c7a3f27f bump-formula-pr, utils/pypi: tweak log messages 2020-08-06 11:31:56 -07:00
Seeker
753b8621df utils: add SPDX module 2020-08-06 10:16:23 -07:00
Seeker
a3fa266bf4
Merge pull request #8223 from SeekingMeaning/bump-formula-pr/exact-match
bump-formula-pr: only check closed PRs for exact match
2020-08-06 09:52:01 -07:00
Markus Reiter
490e503b1b Replace Homebrew.args with Context. 2020-08-06 16:13:14 +02:00
Markus Reiter
5db764f3cb Pass debug? and verbose? in brew style. 2020-08-06 16:12:52 +02:00
Markus Reiter
5caafe413e Pass debug? to Formula#brew and Formula#run_test. 2020-08-06 16:12:52 +02:00
Markus Reiter
2dce2ace2c Pass args.verbose? to Bintray. 2020-08-06 16:12:52 +02:00
Mike McQuaid
8d884e7c3b
Merge pull request #8221 from MikeMcQuaid/homebrew-actions
workflows/tests: use setup-homebrew GitHub Action.
2020-08-06 11:26:27 +01:00
Mike McQuaid
b0d26b0dcf
workflows/tests: use setup-homebrew GitHub Action.
This allows more code reuse.
2020-08-06 10:55:18 +01:00
Mike McQuaid
a3b4ea0443
audit: add --tap argument.
This allows auditing a single tap (so is useful for `test-bot`).
2020-08-06 09:43:02 +01:00
Seeker
c066bc154c bump-formula-pr: only check closed PRs for exact match 2020-08-05 12:52:01 -07:00
Seeker
0d6bec2e0a bump-formula-pr: fix check_all_pull_requests 2020-08-05 12:07:41 -07:00
Elizabeth Tackett
a3278ad345 add bump spec 2020-08-05 10:10:05 -05:00
Jonathan Chang
f1e06b865a audit: permit license groups 2020-08-05 12:52:20 +10:00
Mike McQuaid
361b92a32d
Merge pull request #8210 from MikeMcQuaid/tap-new-updates
tap-new: update GitHub Actions.
2020-08-04 13:31:00 +01:00
Mike McQuaid
acfdbce6d4
tap-new: update GitHub Actions.
This should be using the split options for a better user experience
and can use both Linux and macOS now.
2020-08-04 11:57:39 +01:00
Mike McQuaid
fb0268da7e
license: handle "Public Domain".
Allow `:public_domain` to be used as a `license` value and ensure that
it's handled correctly by `brew info`, `brew audit` and `brew install`.
2020-08-04 10:47:41 +01:00
Seeker
bf16c7a78f bump-formula-pr: open PR on default branch 2020-08-03 10:24:53 -07:00
Seeker
865e3871b8
Merge pull request #8177 from SeekingMeaning/bump-formula-pr/read-only-run
bump-formula-pr: restore formula unless read only run
2020-08-03 10:07:32 -07:00
Baffour Adu Boampong
c7c4921744
Merge branch 'master' into mlh-outdated-packages 2020-08-03 13:11:20 +00:00
Bo Anderson
36c10edf22
Merge pull request #8196 from Bo98/ruby-args
dev-cmd/ruby: improve args passing
2020-08-03 13:34:30 +01:00