Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tcheeric merged 2 commits intodevelopfromcodex/add-label-to-issues-in-workflow
Aug 21, 2025

Conversation

@tcheeric
Copy link
Owner

Why now?

Automatically label workflow-created issues withcodex.
Related issue: #0

What changed?

  • add github-script step to applycodex label when workflow runs as GitHub Actions bot

BREAKING

  • n/a

Review focus

  • workflow logic

Checklist

  • Scope ≤ 300 lines (or split/stack)
  • Title isverb + object (e.g., “Refactor auth middleware to async”)
  • Description links the issue and answers “why now?”
  • BREAKING flagged if needed
  • Tests/docs updated (if relevant)

https://chatgpt.com/codex/tasks/task_b_68a723e2c99883318087e8358a49dabf

@tcheerictcheeric changed the base branch frommain todevelopAugust 21, 2025 13:59
@codecov-commenter
Copy link

⚠️ Please install the'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report?Let us know!

@tcheerictcheeric requested a review fromCopilotAugust 21, 2025 14:00
Copy link
Contributor

CopilotAI left a 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 whengithub.actor isgithub-actions[bot]

configuration-path:.github/labeler.yml
include-title:1
repo-token:${{ github.token }}
-if:github.actor == 'github-actions[bot]'

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 toif: ${{ 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.
include-title:1
repo-token:${{ github.token }}
-if:github.actor == 'github-actions[bot]'
uses:actions/github-script@v7

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.
@tcheerictcheeric merged commitad3e4c7 intodevelopAug 21, 2025
3 of 4 checks passed
@tcheerictcheeric deleted the codex/add-label-to-issues-in-workflow branchAugust 31, 2025 16:14
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@tcheeric@codecov-commenter

[8]ページ先頭

©2009-2025 Movatter.jp