Skip to content

Commit 9d1e062

Browse files
authored
feat: only new issues enhancements (#1029)
1 parent 692c9c9 commit 9d1e062

File tree

4 files changed

+280
-63
lines changed

4 files changed

+280
-63
lines changed

README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ jobs:
6161
# The location of the configuration file can be changed by using `--config=`
6262
# args: --timeout=30m --config=/my/path/.golangci.yml --issues-exit-code=0
6363

64-
# Optional: For pull request only, show only new issues. The default value is `false`.
64+
# Optional: Show only new issues.
65+
# If you are using `merge_group` event (merge queue) you should add the option `fetch-depth: 0` to `actions/checkout` step.
66+
# The default value is `false`.
6567
# only-new-issues: true
6668

6769
# Optional: if set to true, then all caching functionality will be completely disabled,
@@ -104,7 +106,7 @@ jobs:
104106
strategy:
105107
matrix:
106108
go: ['1.21']
107-
os: [macos-latest, windows-latest]
109+
os: [ubuntu-latest, macos-latest, windows-latest]
108110
name: lint
109111
runs-on: ${{ matrix.os }}
110112
steps:
@@ -129,7 +131,9 @@ jobs:
129131
# The location of the configuration file can be changed by using `--config=`
130132
# args: --timeout=30m --config=/my/path/.golangci.yml --issues-exit-code=0
131133

132-
# Optional: For pull request only, show only new issues. The default value is `false`.
134+
# Optional: Show only new issues.
135+
# If you are using `merge_group` event (merge queue) you should add the option `fetch-depth: 0` to `actions/checkout` step.
136+
# The default value is `false`.
133137
# only-new-issues: true
134138

135139
# Optional: if set to true, then all caching functionality will be completely disabled,

dist/post_run/index.js

+86-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/run/index.js

+86-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)