Skip to content

Conversation

@adrienpessu
Copy link
Collaborator

@adrienpessu adrienpessu commented Jun 11, 2024

This pull request introduces a new GitHub Actions workflow named language-detection-and-assignment.yml to automatically detect the programming language of files changed in a pull request and assign the pull request to specific users based on the detected language.

  • Workflow Trigger: Configures the workflow to run on pull request events targeting the main branch.
  • Language Detection: Utilizes a script to detect changes in files with extensions specific to Java, Kotlin, JavaScript, TypeScript, Go, Python, Rust, and CodeQL.
  • User Assignment:
    • Assigns pull requests to @adrienpessu if changes are detected in Java, Kotlin, JavaScript, TypeScript, or Go files.
    • Assigns pull requests to @GeekMasher for changes in Python, Go, CodeQL, or Rust files.
    • Additionally, assigns pull requests to @felickz for changes in Python, JavaScript, TypeScript, or CodeQL files.

For more details, open the Copilot Workspace session.

@adrienpessu adrienpessu requested a review from a team as a code owner June 11, 2024 13:21
@adrienpessu adrienpessu requested review from GeekMasher and felickz and removed request for GeekMasher and felickz June 11, 2024 13:21
adrienpessu

This comment was marked as outdated.

Copy link
Contributor

@GeekMasher GeekMasher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for now this works, it would be nice to have a "YAML file" in this repo and it looks it up

@GeekMasher GeekMasher merged commit 3f3e44f into advanced-security:main Jun 13, 2024
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