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

How actually does "only-new-issues" work?#981

Answeredbyldez
Sortren asked this question inQ&A
Discussion options

Due to lack of documentation regardingonly-new-issues feature, I'd like to know how does it really work.
I thought the desired workflow is following, considering such branch tree (topic has 3 commits A, B, C and open Pull Request on Github to desired master branch):

  A---B---C topic /D-- master

Whole pull request will be checked against a head of the master. So only those issues that come with the topic branch will be reported by the linter.
In my case, the linter doesn't report anything even that I have issues done on purpose in the topic branch.

To conclude, how does theonly-new-issues work? I'd really like to go with the suggestion from the docs that says to not scan the whole repo but only the newest changes.

You must be logged in to vote

Replies: 1 comment

Comment options

ldez
May 4, 2024
Maintainer

Hello,

I added a detailed explanation of the option:https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#only-new-issues

You must be logged in to vote
0 replies
Answer selected byldez
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@Sortren@ldez

[8]ページ先頭

©2009-2025 Movatter.jp