Skip to content

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

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

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

mfranzke
Copy link
Member

@mfranzke mfranzke commented Apr 3, 2025

No description provided.

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

@Copilot Copilot AI 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 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 }}

@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.

1 participant