Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ci: add codex label step
  • Loading branch information
tcheeric committed Aug 21, 2025
commit 1d688bd66e53e7346b1d66fd8a8d239990fdecee
10 changes: 10 additions & 0 deletions .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,13 @@ jobs:
configuration-path: .github/labeler.yml
include-title: 1
repo-token: ${{ github.token }}
- if: github.actor == 'github-actions[bot]'
Copy link

Copilot AI Aug 21, 2025

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]' }}

Suggested change
- if: github.actor == 'github-actions[bot]'
- if: ${{ github.actor == 'github-actions[bot]' }}

Copilot uses AI. Check for mistakes.
uses: actions/github-script@v7
Copy link

Copilot AI Aug 21, 2025

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

Suggested change
uses: actions/github-script@v7
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1

Copilot uses AI. Check for mistakes.
with:
script: |
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['codex']
})
Loading