mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Merge remote-tracking branch 'origin/topic/timw/send-email-on-docs-action-failure'
* origin/topic/timw/send-email-on-docs-action-failure: Fix generate-docs github action to send email when it fails
This commit is contained in:
commit
2d95c38148
3 changed files with 26 additions and 4 deletions
16
.github/workflows/generate-docs.yml
vendored
16
.github/workflows/generate-docs.yml
vendored
|
@ -3,9 +3,6 @@ name: Generate Documentation
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- topic/timw/send-email-on-docs-action-failure
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generate:
|
generate:
|
||||||
|
@ -95,3 +92,16 @@ jobs:
|
||||||
git add doc
|
git add doc
|
||||||
git status
|
git status
|
||||||
git commit -m 'Update doc submodule [nomail] [skip ci]' && git push auth master || /bin/true
|
git commit -m 'Update doc submodule [nomail] [skip ci]' && git push auth master || /bin/true
|
||||||
|
|
||||||
|
- name: Send email
|
||||||
|
if: failure()
|
||||||
|
uses: dawidd6/action-send-mail@v3.4.1
|
||||||
|
with:
|
||||||
|
server_address: ${{secrets.SMTP_HOST}}
|
||||||
|
server_port: ${{secrets.SMTP_PORT}}
|
||||||
|
username: ${{secrets.SMTP_USER}}
|
||||||
|
password: ${{secrets.SMTP_PASS}}
|
||||||
|
subject: generate-docs Github Action failed!
|
||||||
|
body: generate-docs job of ${{github.repository}} Failed! See https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} for details.
|
||||||
|
to: ${{secrets.MAIL_TO}}
|
||||||
|
from: Github Actions <${{secrets.MAIL_FROM}}>
|
||||||
|
|
12
CHANGES
12
CHANGES
|
@ -1,3 +1,15 @@
|
||||||
|
4.2.0-dev.38 | 2021-07-20 09:55:59 -0700
|
||||||
|
|
||||||
|
* Fix generate-docs github action to send email when it fails (Tim Wojtulewicz, Corelight)
|
||||||
|
|
||||||
|
* Use Cirrus's new greedy mode for parallelizing builds and tests (Christian Kreibich, Corelight)
|
||||||
|
|
||||||
|
This oversubscribes our cores 2x, which testing shows we actually
|
||||||
|
run with at times: speedup is around a third on average for builds,
|
||||||
|
and a bit more than that for testing.
|
||||||
|
|
||||||
|
Also some light Bashification in ci/build.sh, for consistency.
|
||||||
|
|
||||||
4.2.0-dev.34 | 2021-07-19 08:56:45 -0700
|
4.2.0-dev.34 | 2021-07-19 08:56:45 -0700
|
||||||
|
|
||||||
* Bump highwayhash to pull in FreeBSD 14 fix (Christian Kreibich, Corelight)
|
* Bump highwayhash to pull in FreeBSD 14 fix (Christian Kreibich, Corelight)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
4.2.0-dev.34
|
4.2.0-dev.38
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue