Skip to content

Stop daily Flutter Nightly Build failure emails - #10

Merged
Chesster1981 merged 1 commit into
masterfrom
cursor/disable-flutter-nightly-3237
Aug 22, 2026
Merged

Chesster1981 merged 1 commit into
masterfrom
cursor/disable-flutter-nightly-3237

Conversation

@Chesster1981

Copy link
Copy Markdown
Owner

GitHub sends a daily “Run failed at startup: Flutter Nightly Build” mail because flutter-nightly.yml on master is scheduled every night at 00:00 UTC (cron: "0 0 * * *"), then fails immediately:

  • Line 10 calls reusable workflow flutter-build.yml
  • That workflow’s generate-sbom job requests contents: write
  • The nightly caller does not grant write permissions, so GitHub rejects the file as invalid
  • Result: Startup failure / No jobs were run, and a notification email every day

This PR:

  1. Removes the nightly schedule so the workflow no longer starts by itself
  2. Adds the same write permissions used by DCS Windows Release, so a manual workflow_dispatch is valid if you ever want it

DCS Windows Release already covers tagged releases. A full Flutter nightly build is not needed.

Merge this into master to stop the emails (scheduled workflows always use the default branch).

Open in Web Open in Cursor 

The 00:00 UTC cron kept starting invalid runs (caller lacked write
permissions for generate-sbom), which GitHub emails as startup failures.
Keep workflow_dispatch with the required permissions so a manual run is valid.

Co-authored-by: Chesster1981 <Chesster1981@users.noreply.github.com>
@Chesster1981
Chesster1981 marked this pull request as ready for review August 21, 2026 18:04
@Chesster1981
Chesster1981 merged commit 46880d0 into master Aug 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants