Dawid Dziurla
d70a042537
workflows: fix yaml
2020-07-29 13:26:31 +02:00
Dawid Dziurla
1bad253bc7
workflows: don't checkout whole repo on upload ( #58802 )
2020-07-29 13:23:20 +02:00
Dawid Dziurla
0eeeca687c
workflows: tighten regexes for labelling ( #58752 )
2020-07-29 09:11:05 +02:00
Dawid Dziurla
8f0331d2b9
workflows: set HOMEBREW_NO_PATCHELF_RB for publish job
2020-07-28 15:05:56 +02:00
Dawid Dziurla
d36f75979d
workflows: label more ( #58727 )
...
- bottle unneeded
- formula deprecated
- formula disabled
2020-07-28 12:57:52 +02:00
Dawid Dziurla
05b733aea2
workflows: use workflow_dispatch for publishing workflow ( #58725 )
2020-07-28 12:36:39 +02:00
Dawid Dziurla
081996d296
workflows: add more on-schedule workflows ( #58710 )
2020-07-28 11:11:13 +02:00
Dawid Dziurla
43d95f9846
workflows: pr-automerge correct tap ( #58688 )
2020-07-27 20:02:54 +02:00
Dawid Dziurla
eb184ad847
workflows: no need to set up ruby on ubuntu
2020-07-22 19:47:47 +02:00
Dawid Dziurla
79d74f8768
workflows: set dispatch type to 'Publish *' ( #57557 )
...
With `brew pr-publish` setting the dispatch' event type (name) to `Publish ##{PR}`,
we should tighten the dispatch type in workflow file too.
2020-07-06 21:16:50 +02:00
Dustin Rodrigues
c0f2ab8752
workflows/tests: only run on homebrew-core ( #55955 )
2020-07-06 13:01:06 +01:00
Bo Anderson
af4d3907b9
workflows/tests: separate log artefact ( #57375 )
2020-07-06 09:12:16 +01:00
Dawid Dziurla
aadf808bc2
workflows: use more Homebrew actions ( #57429 )
2020-07-04 12:24:04 +02:00
Jonathan Chang
f600359110
workflows: use PAT instead of default GITHUB_TOKEN
...
Should prevent errors like:
Error: [{"type"=>"FORBIDDEN", "path"=>["repository", "pullRequest", "reviews", "nodes", 0, "author", "email"], "extensions"=>{"saml_failure"=>false}, "locations"=>[{"line"=>6, "column"=>27}], "message"=>"Resource not accessible by integration"}]
https://github.com/Homebrew/homebrew-core/runs/826063506?check_suite_focus=true#step:7:20
2020-07-01 21:16:15 +10:00
Dawid Dziurla
b37dd49593
workflows: use git-user-config action ( #57138 )
2020-06-30 11:39:24 +02:00
Mike McQuaid
102f98b0cd
workflows/tests: cleanup bottles before builds. ( #57086 )
...
This should be handled by the cleanup step but, if it isn't run for
whatever reason, let's cleanup anyway.
2020-06-29 16:33:42 +01:00
Dawid Dziurla
4501ee0d44
workflows: use git-try-push action
...
Closes #57067 .
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
2020-06-29 14:06:31 +00:00
Mike McQuaid
9230f14842
.github/PULL_REQUEST_TEMPLATE.md: refer to default branch with HEAD.
2020-06-25 11:20:46 +01:00
Dawid Dziurla
e337444f11
workflows: remove extra space
2020-06-20 12:11:06 +02:00
Dawid Dziurla
77babe22b6
workflows: run jobs on ubuntu VMs instead containers ( #55126 )
...
should be faster
2020-05-22 18:53:05 +02:00
Mike McQuaid
f7f14cb527
workflows/tests: don't update-reset homebrew/core. ( #54644 )
...
This shouldn't be necessary as there's a slimmer fetch happening below.
2020-05-13 11:22:44 +01:00
Bo Anderson
a17a5e2e3d
workflows/tests: fix for pre-installed Linuxbrew ( #54626 )
2020-05-12 22:13:03 +01:00
Dawid Dziurla
8417673871
workflows: dismiss reviews if bottle publish failed ( #54324 )
...
Reviews could be automatically dismissed on new commits pushed (there is
an option for that in repository settings on Github). That is not the
case for labels. They remain attached to a PR, even when new commits are
pushed. This is undesirable and creates security concerns, because
someone could introduce untested code just before the automerge happens.
2020-05-09 10:57:11 +02:00
Mike McQuaid
d81fea0b7b
workflows/tests: tweak caching ( #54369 )
...
Avoid setup.rb being incorrectly cached.
2020-05-07 17:45:05 +01:00
Dawid Dziurla
295336ad3c
workflows: more appropriate step name
2020-05-05 13:49:47 +02:00
Dawid Dziurla
cb374ce51a
workflows: git push with backoff
...
ported from linuxbrew-core
2020-05-05 13:41:46 +02:00
EricFromCanada
f294cea9e5
actions: remove generate_formulae.brew.sh_data.yml
...
Closes #54119 .
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
2020-05-04 20:06:01 +00:00
Jonathan Chang
0d5644a597
workflows: fix case
2020-05-02 23:22:06 +10:00
Jonathan Chang
dfeab962a4
workflows: fix syntax
2020-05-02 23:17:24 +10:00
Jonathan Chang
4ef1abba43
workflows: also post comment on cancellation
2020-05-02 23:12:29 +10:00
Mike McQuaid
433cedc2bd
workflows/tests: cleanup tapping. ( #54072 )
...
- Don't auto-update (can mess with branches)
- Don't need to `update-reset` as `test-bot` isn't in Actions images
2020-05-01 11:41:31 +01:00
Mike McQuaid
dd523db64c
workflows/tests: check tap_syntax on Linux too. ( #54046 )
...
We want to make sure all formulae are readable and pass style checks on
both macOS and Linux.
Why Linux? We're doing increasing numbers of things on Linux (bottle
uploads, formulae.brew.sh generation, etc.) and can no longer have
homebrew-core only work on macOS.
This means that changes that make formulae unreadable on Linux will need
to be fixed (e.g. https://github.com/Homebrew/brew/pull/7470 ) before the
formula changes are merged.
As a nice side-effect: this should make life easier for linuxbrew-core
maintainers.
2020-05-01 09:16:55 +01:00
Bo Anderson
c6fe159082
workflows/publish-commit-bottles: increase retry count
2020-04-28 20:11:02 +01:00
Bo Anderson
2dec193d88
workflows/scheduled: don’t run on forks ( #53880 )
2020-04-28 12:34:16 +01:00
Bo Anderson
1b758951e8
workflows/tests: run tap_syntax on master push ( #53842 )
...
workflows/tests: run tap_syntax on master push.
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-04-28 11:28:33 +01:00
Jonathan Chang
dc8c20150a
workflows: don't ping BrewTestBot on schedule ( #53827 )
2020-04-27 21:04:07 +10:00
Mike McQuaid
e4fa680502
workflows/tests: move tap_syntax checks to hosted workers.
...
We have more hosted workers, this avoids running them three times and
generally saves our self-hosted workers for jobs that aren't too broken.
2020-04-27 11:25:50 +01:00
Issy Long
48798a1014
publish-commit-bottles: Revert 7dcd5e2
and a7ce130
( #53801 )
...
- The "potentially fix syntax" commit did not fix it.
- Revert to make `brew pr-publish` work again, so we can ship software
to users.
- Dinner calls, and even though we could probably do an `if` in the main
`script` code, I don't trust myself to write JS well enough after this!
2020-04-26 20:35:47 +01:00
Issy Long
a7ce1303b8
publish-commit-bottles: Fix syntax? ( #53800 )
...
- Sorry folks, 7dcd5e2be6
was bad:
> The workflow is not valid.
> .github/workflows/publish-commit-bottles.yml (Line: 31, Col: 13):
> Unrecognized named-value: 'context'. Located at position 1 within
> expression: context.actor != "BrewTestBot"
- Maybe if it does the `if` after the `uses`, it'll know what `context`
is?
2020-04-26 20:26:34 +01:00
Issy Long
7dcd5e2be6
publish-commit-bottles: Don't comment if it's a @BrewTestBot auto-merge
...
- This was annoying me, and it must have been weird to contributors too,
to have a bot reference itself.
- Since PRs can still be merged with `brew pr-publish` _outside_ of
the auto-merge process, ie if things are particularly urgent, I've
kept this in for human maintainers who trigger the action.
- The "publish failed" message is still useful in all cases.
Closes #53798 .
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
2020-04-26 19:05:29 +00:00
Mike McQuaid
45076510b3
workflows/tests: split test-bot invocations.
...
This should improve the GitHub Actions output.
2020-04-26 14:31:09 +01:00
Jonathan Chang
f6a625fd44
workflows: set user name
2020-04-26 12:09:29 +10:00
Jonathan Chang
87c4c1137d
workflows: fix committer for nameless users
2020-04-26 11:08:13 +10:00
Jonathan Chang
b17640aba9
workflow: fix parens
2020-04-26 10:14:00 +10:00
Jonathan Chang
6b50c0228f
workflows: remove "ready to merge" on publish fail
2020-04-26 10:13:26 +10:00
Jonathan Chang
ad9251e048
workflows: enable autopublish
2020-04-26 10:09:17 +10:00
Dawid Dziurla
f888779204
workflows: add autopublish workflow ( #53194 )
...
Only do a dry run, for now.
2020-04-25 16:28:24 +10:00
Mike McQuaid
17db3c9522
workflows/tests: output failures.
...
Provide a summary of what steps failed.
2020-04-22 13:56:56 +01:00
Dawid Dziurla
64b782f2cd
Revert "workflows: don't use Docker container"
...
This reverts commit 5d35fe1f38
.
`line 1: brew: command not found`
2020-04-21 10:33:34 +02:00
Jonathan Chang
5d35fe1f38
workflows: don't use Docker container
2020-04-19 22:43:05 +10:00