-
Notifications
You must be signed in to change notification settings - Fork 47
workflows: pin dependencies #167
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
base: main
Are you sure you want to change the base?
Changes from 4 commits
f1287f7
7a100fa
4df5202
15815b8
7b6a639
f74d832
52cdb20
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| open-pull-requests-limit: 5 | ||
| groups: | ||
| Github Actions updates: | ||
| applies-to: version-updates | ||
| dependency-type: production | ||
| schedule: | ||
| # Check for updates to GitHub Actions every week | ||
| day: "monday" | ||
| time: "09:00" | ||
| interval: "weekly" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,80 +1,89 @@ | ||
| version: "2" | ||
| run: | ||
| timeout: 5m | ||
| modules-download-mode: readonly | ||
|
|
||
| linters-settings: | ||
| gofmt: | ||
| simplify: true | ||
| goimports: | ||
| local-prefixes: github.com/mattermost/mattermost-starter-template | ||
| golint: | ||
| min-confidence: 0 | ||
| govet: | ||
| enable-all: true | ||
| disable: | ||
| - fieldalignment | ||
| misspell: | ||
| locale: US | ||
| lll: | ||
| line-length: 150 | ||
| revive: | ||
| enableAllRules: true | ||
| rules: | ||
| - name: exported | ||
| disabled: true | ||
|
|
||
| linters: | ||
| disable-all: true | ||
| settings: | ||
| govet: | ||
| enable: | ||
| - shadow | ||
| default: none | ||
| enable: | ||
| - gofmt | ||
| - goimports | ||
| - ineffassign | ||
| - unparam | ||
| - govet | ||
| - asciicheck | ||
| - bodyclose | ||
| - copyloopvar | ||
| - dogsled | ||
| - durationcheck | ||
| - err113 | ||
| - errorlint | ||
| - exhaustive | ||
| - copyloopvar | ||
| - gosec | ||
| - makezero | ||
| - staticcheck | ||
| - prealloc | ||
| - asciicheck | ||
| - dogsled | ||
| - gocritic | ||
| - gocyclo | ||
| - godot | ||
| - err113 | ||
| - goheader | ||
| - revive | ||
| - nakedret | ||
| - gomodguard | ||
| - goprintffuncname | ||
| - gosimple | ||
| - gosec | ||
| - govet | ||
| - ineffassign | ||
| - makezero | ||
| - misspell | ||
| - nakedret | ||
| - nolintlint | ||
| - typecheck | ||
| - prealloc | ||
| - revive | ||
| - staticcheck | ||
| - unconvert | ||
| - unparam | ||
| - unused | ||
| - whitespace | ||
| - gocyclo | ||
|
|
||
| issues: | ||
| exclude-files: | ||
| - product/boards_product.go | ||
| - services/store/sqlstore/migrations | ||
| exclude-rules: | ||
| - path: server/manifest.go | ||
| linters: | ||
| - unused | ||
| - path: server/configuration.go | ||
| linters: | ||
| - unused | ||
| - path: _test\.go | ||
| linters: | ||
| - bodyclose | ||
| - scopelint # https://github.com/kyoh86/scopelint/issues/4 | ||
| settings: | ||
| govet: | ||
| disable: | ||
| - fieldalignment | ||
| enable-all: true | ||
| lll: | ||
| line-length: 150 | ||
| misspell: | ||
| locale: US | ||
| revive: | ||
| rules: | ||
| - name: exported | ||
| disabled: true | ||
| exclusions: | ||
| generated: lax | ||
| presets: | ||
| - comments | ||
| - common-false-positives | ||
| - legacy | ||
| - std-error-handling | ||
| rules: | ||
| - linters: | ||
| - unused | ||
| path: server/manifest.go | ||
| - linters: | ||
| - unused | ||
| path: server/configuration.go | ||
| - linters: | ||
| - bodyclose | ||
| - scopelint # https://github.com/kyoh86/scopelint/issues/4 | ||
| path: _test\.go | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| paths: | ||
| - product/boards_product.go | ||
| - services/store/sqlstore/migrations | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ | ||
| formatters: | ||
| enable: | ||
| - gofmt | ||
| - goimports | ||
| settings: | ||
| gofmt: | ||
| simplify: true | ||
| goimports: | ||
| local-prefixes: | ||
| - github.com/mattermost/mattermost-starter-template | ||
| exclusions: | ||
|
Comment on lines
+101
to
+104
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Get the module path from go.mod
rg -n '^module ' go.modRepository: mattermost/mattermost-plugin-boards Length of output: 134 🏁 Script executed: #!/bin/bash
# Check if server/go.mod exists and what its module path is
if [ -f server/go.mod ]; then
echo "=== server/go.mod found ==="
rg -n '^module ' server/go.mod
else
echo "=== server/go.mod not found ==="
echo "Checking directory structure:"
ls -la server/ | head -20
fiRepository: mattermost/mattermost-plugin-boards Length of output: 1260 🏁 Script executed: #!/bin/bash
# Verify the current content of server/.golangci.yml around the goimports section
rg -B5 -A5 'goimports' server/.golangci.ymlRepository: mattermost/mattermost-plugin-boards Length of output: 348 Update
♻️ Suggested adjustment goimports:
local-prefixes:
- - github.com/mattermost/mattermost-starter-template
+ - github.com/mattermost/mattermost-plugin-boards🤖 Prompt for AI Agents
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be done in follow up f74d832 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| generated: lax | ||
| paths: | ||
| - product/boards_product.go | ||
| - services/store/sqlstore/migrations | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ | ||
Uh oh!
There was an error while loading. Please reload this page.