Conversation
This GitHub Actions workflow syncs labels across repositories using manage-your-labels and runs daily and on manual trigger.
There was a problem hiding this comment.
Pull Request Overview
This PR adds a GitHub Actions workflow to automatically sync labels across repositories using the manage-your-labels action. The workflow runs daily at 9 AM UTC and can also be triggered manually.
- Adds automated label synchronization across organization repositories
- Configures daily scheduled execution and manual trigger capability
- Uses organization-level token for cross-repository access
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| schedule: | ||
| - cron: '0 9 * * *' | ||
|
|
||
| jobs: |
There was a problem hiding this comment.
The YAML indentation is incorrect. The 'jobs' key should be at the root level (no indentation), and 'sync' should be indented under 'jobs'.
| jobs: | |
| jobs: |
| name: Manage org labels | ||
| on: | ||
| workflow_dispatch: | ||
| schedule: |
There was a problem hiding this comment.
The 'schedule' key should be indented to align with 'workflow_dispatch' at the same level under 'on'.
| schedule: | |
| schedule: |
There was a problem hiding this comment.
Codex Review: Here are some suggestions.
.github/.github/workflows/manage-labels.yml
Lines 7 to 8 in 1761b46
[P0] Fix misindented workflow structure
The workflow YAML currently indents jobs (and the sync job) under the on block, so the file parses as events named jobs/sync instead of a job definition. GitHub rejects such a workflow at load time, meaning the label sync never runs. Align jobs with name/on at the root and indent sync beneath it so that the job is actually executed.
About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".
This GitHub Actions workflow syncs labels across repositories using manage-your-labels and runs daily and on manual trigger.