Skip to content

Commit

Permalink
ci: enable manual runs of nightly (MystenLabs#2768)
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-mysten authored Jun 28, 2022
1 parent 9976889 commit c4cd1de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: nightly
on:
schedule:
- cron: '0 0 * * *' # every day at midnight
workflow_dispatch
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -97,9 +97,10 @@ jobs:
if: always()
needs: [beta, release, cargo-udeps]
steps:
- uses: slackapi/[email protected]
- uses: technote-space/workflow-conclusion-action@v3

- name: Post to slack
uses: slackapi/[email protected]
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
if: env.WORKFLOW_CONCLUSION == 'failure' # notify only if failure
Expand Down

0 comments on commit c4cd1de

Please sign in to comment.