673 Commits

Author SHA1 Message Date
Mike McQuaid
9cfa3d9f2a
Merge pull request #13790 from MikeMcQuaid/all_deprecation
Deprecate reading all formulae through commands
2022-09-05 14:27:42 +01:00
Mike McQuaid
e2759fbdff
Deprecate reading all formulae through commands
We added the `--all` flag (now renamed to `--eval-all`) for various
commands for this behaviour so let's start deprecating this.

Also, introduce a `HOMEBREW_EVAL_ALL` environment variable to use the
existing, less secure, behaviour by default and avoid passing
`--eval-all` everywhere.
2022-09-05 13:57:22 +01:00
Mike McQuaid
56cca1edd3
.github/workflows: various fixes.
- don't try to `brew update-sponsors`, @BrewTestBot doesn't have
  `admin:org` rights, nor should they
- allow testing the `maintainers-man-completions` workflow on branches
- cache RubyGems for `brew generate-man-completions`
- add `workflow_dispatch` support to `spdx` workflow for easier testing
2022-09-05 13:27:50 +01:00
Mike McQuaid
af6165aab7
Automate sponsors updates
- Add sponsors updating to the existing man/completion/maintainer update workflow
- Hide/deprecated --fail-if-not-changed arguments and make them default behaviour
- Rename man-completions workflow to sponsors-maintainers-man-completions for consistency
- Make output and exit codes more consistent between these updating commands
- Fix maintainers updates not always being committed correctly
2022-09-02 08:24:33 +01:00
BrewTestBot
b56f95395b
triage-issues.yml: update to match main configuration 2022-07-18 16:16:31 +00:00
Rylan Polster
a64f04f678
Merge pull request #13464 from Homebrew/dependabot/github_actions/reitermarkus/rerun-workflow-1.2.2
build(deps): bump reitermarkus/rerun-workflow from 1.2.1 to 1.2.2
2022-06-23 10:31:40 -04:00
dependabot[bot]
b737c59cc2
build(deps): bump reitermarkus/rerun-workflow from 1.2.1 to 1.2.2
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](cd46218e13...c8d5bc3526)

---
updated-dependencies:
- dependency-name: reitermarkus/rerun-workflow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 22:30:31 +00:00
Rylan Polster
377159a6c9
workflows/triage: use PAT with read:org to indentify private members 2022-06-22 11:11:23 -04:00
Bo Anderson
96dfa631db
workflows/tests: drop Homebrew/linux-dev checks
Homebrew/linux-dev is effectively deprecated and is due for archival.
2022-06-17 19:47:58 +01:00
Bo Anderson
00932556bf
workflow/vendor-gems: re-add erroneously removed output 2022-05-17 20:04:24 +01:00
Bo Anderson
7e07f66e47
Use sorbet-static-and-runtime 2022-05-17 04:15:50 +01:00
Bo Anderson
b4f7dbcc2b
Merge pull request #13218 from Homebrew/docker-brew-22.04
workflows/docker: base homebrew/brew on 22.04
2022-04-29 22:03:07 +01:00
Bo Anderson
3ddcf765d2
workflows/docker: base homebrew/brew on 22.04
Also disable fail-fast so that if a image upload fails we don't stop the other uploads halfway.
2022-04-28 21:21:40 +01:00
Bo Anderson
f15ac65ced
workflows/docker: add OCI metadata 2022-04-27 03:38:57 +01:00
Bo Anderson
1baa340158
Merge pull request #13186 from Homebrew/jammy
workflows/docker: add 22.04
2022-04-26 22:04:17 +01:00
dependabot[bot]
06b583142d
build(deps): bump reitermarkus/rerun-workflow from 1.2.0 to 1.2.1
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](1845d3165c...cd46218e13)

---
updated-dependencies:
- dependency-name: reitermarkus/rerun-workflow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 18:02:56 +00:00
Dawid Dziurla
3e88dcb7f7
workflows/docker: add 22.04 2022-04-24 22:33:47 +02:00
dependabot[bot]
9a9704a96e
build(deps): bump codecov/codecov-action from 3.0.0 to 3.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](e3c560433a...81cd2dc814)

---
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>
2022-04-21 18:04:00 +00:00
Issy Long
6dd6758824
workflows/codeql: Improve branch triggers and remove fail-fast
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-04-18 15:17:17 +01:00
Issy Long
0016baa1cd
workflows/codeql: Don't run on schedule, and no need for a matrix
- These were the defaults generated when I clicked the "enable Code
  Scanning" button on GitHub, but...
- Since we only have Ruby in this repo, we don't need a matrix, we can
  just specify `languages: ruby`.
- And this repo gets enough usage that the schedule is not very useful -
  who would look at the scheduled run vs. it running every day on PRs?
2022-04-15 17:36:18 +01:00
Issy Long
266daffbd1
workflows: Add Code Scanning
- https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning
- I just joined the Code Scanning team at work and I figured I'd test out the actual product in the real world by seeing what things it points out for Homebrew, a reasonably large Ruby project.
- This adds a config file to exclude `Library/Homebrew/vendor` as we can't fix problems within gems. :-)
2022-04-15 15:24:49 +01:00
BrewTestBot
4428efeca6
triage-issues.yml: update to match main configuration 2022-04-12 16:11:25 +00:00
Mike McQuaid
6f3a71c0d8
Merge pull request #13087 from MikeMcQuaid/org_discussions
Update Homebrew discussion links
2022-04-06 10:12:28 +01:00
dependabot[bot]
f1dd00071a
build(deps): bump codecov/codecov-action from 2.1.0 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](f32b3a3741...e3c560433a)

---
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>
2022-04-05 18:03:50 +00:00
Mike McQuaid
7bdde7910e
Update Homebrew discussion links
The organisation discussions have a cleaner URL.
2022-04-05 08:31:40 +01:00
Mike McQuaid
2a850e02d8
Merge pull request #13072 from MikeMcQuaid/remove_docs_gemfile_lock
docs: remove Gemfile.lock.
2022-04-01 14:28:57 +01:00
dependabot[bot]
18ec55b23b
build(deps): bump reitermarkus/rerun-workflow from 1.1.6 to 1.2.0
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from 1.1.6 to 1.2.0.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](64cba9e834...1845d3165c)

---
updated-dependencies:
- dependency-name: reitermarkus/rerun-workflow
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 18:03:28 +00:00
Mike McQuaid
15541f082c
docs: remove Gemfile.lock.
We don't use this for anything and approving the dependabot PRs is a bit
of a waste of time.
2022-03-31 12:03:27 +01:00
Mike McQuaid
e2fd5033c8
workflows/triage: fix concurrency.
`github.ref` is always `master` for `pull_request_target` jobs so this
needs to use `github.head_ref` instead to get the actual pull request
branch.
2022-02-23 13:39:08 +00:00
dependabot[bot]
99555a99d9
build(deps): bump actions/github-script from 5 to 6
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 18:04:32 +00:00
Mike McQuaid
4d3b6984a6
ISSUE_TEMPLATE/config: fix typo.
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2022-02-07 10:49:02 +00:00
Mike McQuaid
717fd90d61
ISSUE_TEMPLATE/config: add Homebrew/install.
We get a fair few installation bugs filed on this repository so hopefully this will redirect them.
2022-02-07 09:17:15 +00:00
Mike McQuaid
b09f421027
repology: always use Homebrew curl.
This seems to be required even with TLSv1.3 support now.

Also, while we're here, improve the error handling/output.
2022-01-03 13:17:12 +00:00
Bo Anderson
731287ff95
dependabot.yml: lockfile-only versioning strategy 2021-12-16 18:22:58 +00:00
Bo Anderson
f7185f1454
workflows: remove outdated Xcode switch 2021-12-06 18:28:53 +00:00
Carlo Cabrera
4d768e85c2
bug.yml: fix missing label property
Submitting bug reports hasn't worked for a while because of the missing
`label`.

My editor complained about `labels` needing to be an array, so I've made
that one too. It was also complaining about the missing label property
for the checkboxes, so I guess it knows what it's talking about here.
2021-12-02 04:05:37 +08:00
Bo Anderson
093b3a739b
workflows/tests: limit coverage file uploads 2021-11-25 21:50:51 +00:00
EricFromCanada
5b47c6540c
tests.yml: resume preinstalling subversion 2021-11-09 15:27:05 -05:00
EricFromCanada
e5109681c8
tests.yml: no more need for preinstalled subversion 2021-11-09 14:00:55 -05:00
Bo Anderson
ccb1628bb4
workflows/doctor: add Monterey CI 2021-10-21 16:09:20 +01:00
Michka Popoff
1cc7ca33c0
update: migrate everyone from linuxbrew-core to homebrew-core
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-10-20 11:01:38 +01:00
EricFromCanada
541b9556f8
tests.yml: install curl on macOS for TLS 1.3 support 2021-10-19 17:01:42 -04:00
BrewTestBot
7c97a26fc1
triage-issues.yml: update to match main configuration 2021-09-28 16:29:22 +00:00
Bo Anderson
3787a2ee91
workflows/triage: fixes for github-script@v5 2021-09-26 21:13:50 +01:00
dependabot[bot]
f373ebfd6a
build(deps): bump actions/github-script from 4.1 to 5
Bumps [actions/github-script](https://github.com/actions/github-script) from 4.1 to 5.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v4.1...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-24 18:03:38 +00:00
Bo Anderson
19844d74f8
workflows/triage: fix syntax 2021-09-16 15:28:01 +01:00
Bo Anderson
e3b760289f
Merge pull request #12063 from Homebrew/workflow-permissions
workflows: reduce GITHUB_TOKEN permissions
2021-09-16 15:15:55 +01:00
Mike McQuaid
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