-
Notifications
You must be signed in to change notification settings - Fork 26
ci: add codex label step #400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds automatic labeling functionality to the GitHub issue labeler workflow to apply a "codex" label when the workflow is triggered by the GitHub Actions bot.
- Adds conditional step that applies "codex" label when
github.actorisgithub-actions[bot]
| configuration-path: .github/labeler.yml | ||
| include-title: 1 | ||
| repo-token: ${{ github.token }} | ||
| - if: github.actor == 'github-actions[bot]' |
Copilot
AI
Aug 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The condition should use ${{ }} syntax for GitHub Actions expressions. Change to if: ${{ github.actor == 'github-actions[bot]' }}
| - if: github.actor == 'github-actions[bot]' | |
| - if: ${{ github.actor == 'github-actions[bot]' }} |
| include-title: 1 | ||
| repo-token: ${{ github.token }} | ||
| - if: github.actor == 'github-actions[bot]' | ||
| uses: actions/github-script@v7 |
Copilot
AI
Aug 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider pinning the action to a specific commit hash instead of using a tag version for better security and reproducibility. For example: uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
| uses: actions/github-script@v7 | |
| uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 |
Why now?
Automatically label workflow-created issues with
codex.Related issue: #0
What changed?
codexlabel when workflow runs as GitHub Actions botBREAKING
Review focus
Checklist
https://chatgpt.com/codex/tasks/task_b_68a723e2c99883318087e8358a49dabf