.github: run GitHub workflow weekday#94
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adjusts GitHub Actions scheduling and token permissions to reduce weekend security-triage noise and align workflows with least-privilege GITHUB_TOKEN permissions.
Changes:
- Restricts the
security-triagescheduled workflow to run only Monday–Friday (cron: '0 6 * * 1-5'). - Sets explicit
permissions: contents: readfor thetests,lint, andinstallworkflows to satisfy read-only requirements/code scanning expectations.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/tests.yml | Adds explicit read-only contents permission for the test workflow token. |
| .github/workflows/security-triage.yml | Updates the scheduled cron to run on weekdays only. |
| .github/workflows/lint.yml | Adds explicit read-only contents permission for the lint workflow token. |
| .github/workflows/install.yml | Adds explicit read-only contents permission for the install workflow token. |
tormath1
reviewed
Jul 24, 2026
tormath1
left a comment
There was a problem hiding this comment.
It makes sense to me. Let's update the unit tests as well:
Run security-triage workflow only weekdays, not during weekend, to reduce number of reports to be reviewed. Signed-off-by: Dongsu Park <dongsu@dpark.io>
Set read permission for test, install, lint, to resolve code scanning alerts. Signed-off-by: Dongsu Park <dongsu@dpark.io>
dongsupark
force-pushed
the
github-workflow-weekday
branch
from
July 24, 2026 11:00
614d390 to
bbecc24
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run security-triage workflow only weekdays, not during weekend, to reduce number of reports to be reviewed.
Set read permission for test, install, lint, to resolve code scanning alerts.