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.
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]' |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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