Skip to content

MNT Linter Bot: add concurrency group and a link to the commit for th… #26638

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

Merged
merged 6 commits into from
Jun 21, 2023

Conversation

adrinjalali
Copy link
Member

Cancel running jobs and add a link to the commit for which the comment is generated, example: adrinjalali/gh-action-test#5

cc @ogrisel @thomasjpfan

@github-actions
Copy link

github-actions bot commented Jun 20, 2023

Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

@jeremiedbb
Copy link
Member

What do you think about adding a small visual hint like a green check next to "Linting passed" or a red cross next to "Linting issues" ?

@adrinjalali
Copy link
Member Author

@jeremiedbb done.

@@ -6,6 +6,10 @@ name: linter
on:
- pull_request_target

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Copy link
Member

Choose a reason for hiding this comment

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

When does this workflow fallback to github.ref?

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM

@adrinjalali
Copy link
Member Author

@jeremiedbb @ogrisel this would fix the issues we see in PRs where they haven't merged with main.

@jeremiedbb jeremiedbb enabled auto-merge (squash) June 21, 2023 14:05
@jeremiedbb jeremiedbb merged commit ab581af into scikit-learn:main Jun 21, 2023
@adrinjalali adrinjalali deleted the bot/concurrency branch June 22, 2023 15:00
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jun 29, 2023
REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
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.

3 participants