Skip to content

feat: assign issue or PR to project on setting milestone#172

Open
mfranzke wants to merge 16 commits into
mainfrom
feat-assign-issue-or-pr-to-project-on-setting-milestone
Open

feat: assign issue or PR to project on setting milestone#172
mfranzke wants to merge 16 commits into
mainfrom
feat-assign-issue-or-pr-to-project-on-setting-milestone

Conversation

@mfranzke

@mfranzke mfranzke commented Apr 3, 2025

Copy link
Copy Markdown
Member

No description provided.

@mfranzke mfranzke requested a review from Copilot April 3, 2025 08:28
@mfranzke mfranzke self-assigned this Apr 3, 2025

Copilot AI left a comment

Copy link
Copy Markdown

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 introduces a new GitHub Actions workflow that assigns issues or pull requests to a specific project when a milestone is set.

  • Added a new workflow file to trigger on "milestoned" events for issues and pull requests.
  • The workflow includes steps to check out code and assign the corresponding issue or PR to a project using the GitHub API.
Comments suppressed due to low confidence (1)

.github/workflows/99-assign-to-project-on-milestone-set.yml:19

  • Ensure that the GitHub Actions expression correctly prioritizes the issue over the pull request because the use of '||' might not behave as intended in all scenarios; consider verifying or refactoring this logic.
          ISSUE_OR_PR=${{ github.event.issue || github.event.pull_request }}

Comment thread .github/workflows/99-assign-to-project-on-milestone-set.yml Outdated
@mfranzke mfranzke added this to the 2.0.0 milestone Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
@mfranzke mfranzke added this to the 2.0.0 milestone Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
@mfranzke mfranzke modified the milestone: 2.0.0 Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants