Skip to content

Commit 57fda36

Browse files
committed
fix: remove daily cron and fix branch deletion
1 parent 74bcca8 commit 57fda36

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/daily.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: "Daily Cron"
22

33
on:
4-
# Run daily at midnight
5-
schedule:
6-
- cron: "0 0 * * *"
7-
84
# Allow workflow to be manually run from the GitHub UI
95
workflow_dispatch:
106

@@ -287,7 +283,8 @@ jobs:
287283
288284
delete-regression-branch:
289285
name: "Delete regression branch"
290-
needs: semantic-release-dryrun
286+
if: ${{ always() }}
287+
needs: [semantic-release-dryrun, create-regression-branch]
291288
runs-on: ubuntu-latest
292289
env:
293290
GITHUB_TOKEN: ${{ secrets.MP_SEMANTIC_RELEASE_BOT }}

0 commit comments

Comments
 (0)