Commit Graph
265 Commits
Author SHA1 Message Date
Bo Anderson 19844d74f8 workflows/triage: fix syntax 2021-09-16 15:28:01 +01:00
Bo AndersonandGitHub e3b760289f Merge pull request #12063 from Homebrew/workflow-permissions
workflows: reduce GITHUB_TOKEN permissions
2021-09-16 15:15:55 +01:00
Mike McQuaidandGitHub 8a85b96b00 Merge pull request #12044 from XuehaiPan/fix-inconsistent-shell-style
style: add code style checker for shell scripts
2021-09-16 15:03:23 +01:00
BrewTestBot b6f0574e4b triage-issues.yml: update to match main configuration 2021-09-16 01:48:33 +00:00
XuehaiPan c2d5d84b21 Merge remote-tracking branch 'upstream/master' into fix-inconsistent-shell-style 2021-09-16 01:01:49 +08:00
Bo Anderson f38a3239e6 workflows: reduce GITHUB_TOKEN permissions 2021-09-15 15:10:11 +01:00
XuehaiPan 3f96d963f7 style: fix inconsistent code style for shell scripts 2021-09-15 14:59:01 +08:00
dependabot[bot]andGitHub 96e7c65a00 build(deps): bump codecov/codecov-action from 2.0.3 to 2.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/5a8bb4701eca7ba3673f21664b887f652c58d0a3...f32b3a3741e1053eb607407145bc9619351dc93b)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 10:12:45 +00:00
Bo Anderson 9d168ff483 workflows: fix gh parsing 2021-09-10 19:25:53 +01:00
Bo Anderson aebcd5fdd4 workflows: don't make new branch track master 2021-09-10 19:01:19 +01:00
Bo Anderson 9692364211 workflows: set GITHUB_TOKEN for gh usage 2021-09-10 18:50:11 +01:00
Bo Anderson 4d2a2c87aa workflows: don't silence stderr 2021-09-10 15:05:27 +01:00
Bo AndersonandGitHub fb0d764ae7 Merge pull request #12020 from Bo98/workflow-pr-open-fix
workflows: don't assume branch existence means the PR is open
2021-09-10 14:52:30 +01:00
Bo Anderson e7d3dc8532 workflows/triage: limit concurrent runs 2021-09-10 02:54:01 +01:00
Bo Anderson e80620fea4 workflows: don't assume branch existence means the PR is open 2021-09-10 02:40:51 +01:00
dependabot[bot]andGitHub 207266a940 build(deps): bump codecov/codecov-action from 2.0.2 to 2.0.3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/51d810878be5422784e86451c0e7c14e5860ec47...5a8bb4701eca7ba3673f21664b887f652c58d0a3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-24 18:02:18 +00:00
BrewTestBot d6e4586de8 triage-issues.yml: update to match main configuration 2021-08-20 17:12:50 +00:00
dependabot[bot]andGitHub e80f260b9e build(deps): bump actions/github-script from 4.0.2 to 4.1
Bumps [actions/github-script](https://github.com/actions/github-script) from 4.0.2 to 4.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v4.0.2...v4.1)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-19 18:02:44 +00:00
BrewTestBot a7b5f77d9d triage-issues.yml: update to match main configuration 2021-08-03 04:45:35 +00:00
dependabot[bot]andGitHub 53b399db1f build(deps): bump codecov/codecov-action from 2.0.1 to 2.0.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/c585afe366f940d214dc09df2664c06d7fe07052...51d810878be5422784e86451c0e7c14e5860ec47)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-23 18:02:35 +00:00
dependabot[bot]andGitHub 637ece373b build(deps): bump codecov/codecov-action from 1.5.2 to 2.0.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1.5.2 to 2.0.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/29386c70ef20e286228c72b668a06fd0e8399192...c585afe366f940d214dc09df2664c06d7fe07052)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 18:03:11 +00:00
BrewTestBot f4c6bfdf37 triage-issues.yml: update to match main configuration 2021-07-16 05:56:27 +00:00
BrewTestBot 58a703a454 triage-issues.yml: update to match main configuration 2021-07-09 11:27:51 +00:00
Mike McQuaid a3f96689f0 workflows/tests: enable concurrency limiting.
Let's cancel in-progress builds on the same PR.
2021-07-08 15:09:34 +01:00
Mike McQuaid d490e2a9a7 Fix BuildPulse handling
- be more verbose with output to be clear when we're using/submitting to
  BuildPulse
- remove the duplicate BuildPulse submission step
2021-06-30 09:20:56 +01:00
Mike McQuaid a4c2e0e1b3 Tweak BuildPulse/rspec-retry logic
BuildPulse is trying to find flaky tests for us but, given the previous
model of using `rspec-retry`, it would rarely find them. Instead, let's
try to always rerun `brew tests` multiple times, report to BuildPulse
each time (by moving the reporting logic into `brew tests`) and disable
`rspec-retry` when using BuildPulse.

While we're here, let's enable `rspec-retry` locally so we don't have
flaky tests biting maintainers/contributors there.
2021-06-29 12:43:47 +01:00
Jason Rudolph ee17ab0ee9 Upload results to BuildPulse for non-PR pushes 2021-06-23 09:01:29 -04:00
Mike McQuaidandGitHub 5379ff15b8 workflows/tests: use buildpulse-test-reporter formula. 2021-06-23 10:38:12 +01:00
0eec1d5e57 Only send to BuildPulse when we have access to secrets
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-22 10:31:25 -04:00
Jason Rudolph 006299dcc1 Update job to send macOS test results to BuildPulse for analysis 2021-06-21 13:55:09 -04:00
Sam Ford affa5c9e44 Exclude version audit on CI 2021-06-16 10:30:54 -04:00
Bo Anderson a06d136d2c Move Sorbet gems into an optional group 2021-06-11 08:10:30 +01:00
dependabot[bot]andGitHub 6ae1e670d6 build(deps): bump codecov/codecov-action from 1.5.0 to 1.5.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/a1ed4b322b4b38cb846afb5a0ebfa17086917d27...29386c70ef20e286228c72b668a06fd0e8399192)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 05:24:02 +00:00
BrewTestBot 04269f221e triage-issues.yml: update to match main configuration 2021-05-23 17:09:44 +00:00
BrewTestBot aec4b9745b triage-issues.yml: update to match main configuration 2021-05-14 21:48:27 +00:00
Nanda H Krishna dbc51c92af workflows: rename update-manpage to update-man-completions 2021-05-05 00:12:57 +05:30
Nanda H KrishnaandGitHub 0ed2f6423f Merge pull request #11308 from nandahkrishna/rename-brew-man
Rename `brew man` to `brew generate-manpages`
2021-05-04 23:02:39 +05:30
Nanda H Krishna b9b83edc1a dev-cmd: rename brew man to brew generate-man-completions 2021-05-04 18:32:42 +05:30
dependabot[bot]andGitHub ef153c7554 build(deps): bump codecov/codecov-action
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 967e2b38a85a62bd61be5529ada27ebc109948c2 to 1.5.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/967e2b38a85a62bd61be5529ada27ebc109948c2...a1ed4b322b4b38cb846afb5a0ebfa17086917d27)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-04 05:55:56 +00:00
Mike McQuaidandGitHub 7135cc088d Merge pull request #11236 from MikeMcQuaid/tests_more_needs_syntax
github/workflows/tests: add more `needs: syntax`
2021-04-26 15:41:07 +01:00
dependabot[bot]andGitHub ea02a0efea build(deps): bump actions/github-script from v4.0.1 to v4.0.2
Bumps [actions/github-script](https://github.com/actions/github-script) from v4.0.1 to v4.0.2.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v4.0.1...a3e7071a34d7e1f219a8a4de9a5e0a34d1ee1293)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 06:59:59 +00:00
Mike McQuaid 9614927400 github/workflows/tests: add more needs: syntax
Make more of the longer (i.e. >5m) jobs require the `syntax` job to have
completed. These jobs are so much quicker than the macOS job so that
this will not slow down the overall CI run while avoiding the run of
some jobs if `syntax` fails.
2021-04-23 14:30:37 +01:00
Mike McQuaid c6a9227e08 More official Homebrew taps
Make `brew alias`, `brew autoupdate` and `brew command-not-found-init`
official commands. This means we:
- make sure we don't break their style with `brew style` changes
- autotap them when you run the command and they aren't installed
- include them in the manpage
2021-04-23 13:43:55 +01:00
dependabot[bot]andGitHub 99ad3b34cb build(deps): bump actions/github-script from v3 to v4.0.1
Bumps [actions/github-script](https://github.com/actions/github-script) from v3 to v4.0.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v3...85e88a66eaa831097093a3d278536947f2984d20)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 12:51:49 +00:00
Tom Hu 204fa5c75f Bump Codecov action to 1.4.1 2021-04-20 14:10:43 -04:00
Mike McQuaidandGitHub 7a78e3b9cd Merge pull request #11192 from Rylan12/simulate-macos-for-style
workflows/tests: simulate macOS for `brew style homebrew-core`
2021-04-20 12:17:17 +01:00
Rylan Polster 9a69773640 workflows/tests: simulate macOS for brew style homebrew-core 2021-04-19 14:09:19 -04:00
dependabot[bot]andGitHub 50e74b35e0 build(deps): bump codecov/codecov-action
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 9b0b9bbe2c64e9ed41413180dd7398450dfeee14 to 1.4.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/9b0b9bbe2c64e9ed41413180dd7398450dfeee14...0e28ff86a50029a44d10df6ed4c308711925a6a8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 07:25:25 +00:00
Mike McQuaid 75592cbebc Better handle brew bottle --only-json-tab bottles
- test them in `brew test-bot` (before we do so in homebrew/core)
- don't fail if we cannot find the tab/install receipt in a bottle
- cache listing the files in a bottle so we don't do it more times than
  necessary
- fix resolution of version and formula names from a bottle if we're
  getting them from a bottle without a tab/install receipt

This will need to be in a tagged release before we can ship tab-less
bottles to users.
2021-04-13 14:26:31 +01:00
Bo Anderson c972d330cb Update Big Sur runner labels 2021-04-12 21:20:19 +01:00