Skip to content

Commit

Permalink
fix: Fix daily checking workflow, create an issue if it fails
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Nov 5, 2023
1 parent 7fa239e commit 03c87c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

name: Setup-Moonbit@Daily Checking
on:
# push:
# branches:
# - develop
# This schedule will run only from the default branch
schedule:
- cron: '15 0 * * *' # run at 00:15 AM UTC
Expand Down Expand Up @@ -35,7 +38,7 @@ jobs:
moon run main
- name: Create an Issue for Release Failure
if: ${{ success() }}
if: ${{ failure() }}
uses: JasonEtco/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 03c87c2

Please sign in to comment.