Skip to content

Comments

add explicit permissions and workflow_call to scheduled-checks#15

Merged
miguemagicdev merged 1 commit intomainfrom
ci/workflow-permissions
Feb 22, 2026
Merged

add explicit permissions and workflow_call to scheduled-checks#15
miguemagicdev merged 1 commit intomainfrom
ci/workflow-permissions

Conversation

@miguemagicdev
Copy link
Contributor

Description

This PR updates scheduled-checks.yml to resolve a permission denied error that caused the workflow to fail after an 8-hour timeout.

The issue: The workflow attempted to upload security scan results but encountered the following error:

"The workflow is requesting 'security-events: write', but is only allowed 'security-events: none'"

Changes

  • Added permissions block: Explicitly granted security-events: write (required for dispatching the status checks) and contents: read (required to checkout the code).
  • Added workflow_call trigger: Enabled the workflow to be triggered manually from other workflows. This allows us to verify the permission fix immediately without waiting for the next 8-hour scheduled interval.

@miguemagicdev miguemagicdev merged commit 14bc280 into main Feb 22, 2026
6 checks passed
@miguemagicdev miguemagicdev deleted the ci/workflow-permissions branch February 22, 2026 13:28
miguemagicdev added a commit that referenced this pull request Feb 22, 2026
…uled-checks.yml` (#16)

Remove the lines `security-events: write` in files `status-checks.yml` and `scheduled-checks.yml`.

Relates to: #15
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.

1 participant