Skip to content

Commit 2dc2c0f

Browse files
JaclynCodesCopilotopenhands-agentdependabot[bot]gemini-code-assist[bot]
authored
development tooling, dependency management, and documentation (#54)
* Revert "Potential fix for code scanning alert no. 1: Workflow does not contain permissions" * Update stale action to specific commit version Signed-off-by: Misfit <218383634+JaclynCodes@users.noreply.github.com> * Add custom agent template for repository Created a template for a custom agent configuration. Signed-off-by: Misfit <218383634+JaclynCodes@users.noreply.github.com> * Update .github/copilot-instructions.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Misfit <218383634+JaclynCodes@users.noreply.github.com> * Fix failing GitHub Actions - Fix jd package import to use lib subpackage - Replace range over int with traditional for loop for Go 1.23 compatibility - Update golangci-lint configuration to use modern syntax - All tests now pass and linting succeeds Co-authored-by: openhands <openhands@all-hands.dev> * Fix failing GitHub Actions workflows - Update golangci-lint version from v2.x to v1.60.1 in both script and workflow - Fix PATH issue in license scripts to include Go bin directory - Update third-party license files to match current dependencies Co-authored-by: openhands <openhands@all-hands.dev> * Bump golang from 1.24.4-alpine to 1.25.4-alpine (#30) Bumps golang from 1.24.4-alpine to 1.25.4-alpine. --- updated-dependencies: - dependency-name: golang dependency-version: 1.25.4-alpine dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misfit <218383634+JaclynCodes@users.noreply.github.com> * Add files via upload Signed-off-by: Misfit <218383634+JaclynCodes@users.noreply.github.com> * Update close-inactive-issues.yml Signed-off-by: Misfit <218383634+JaclynCodes@users.noreply.github.com> * Onboarding (#34) (#41) * Update .github/copilot-instructions.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Misfit <218383634+JaclynCodes@users.noreply.github.com> * Initial plan (#55) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * Update .github/agents/my-agent.agent.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Misfit <218383634+JaclynCodes@users.noreply.github.com> * Update .github/workflows/close-inactive-issues.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Misfit <218383634+JaclynCodes@users.noreply.github.com> * Initial plan (#56) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --------- Signed-off-by: Misfit <218383634+JaclynCodes@users.noreply.github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
1 parent 87fc9ea commit 2dc2c0f

18 files changed

Lines changed: 378 additions & 92 deletions

File tree

.github/agents/my-agent.agent.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
# Fill in the fields below to create a basic custom agent for your repository.
3+
# The Copilot CLI can be used for local testing: https://gh.io/customagents/cli
4+
# To make this agent available, merge this file into the default repository branch.
5+
# For format details, see: https://gh.io/customagents/config
6+
7+
name: My Custom GitHub Agent
8+
description: An agent that automates repository tasks and assists with issues, PRs, and code analysis.
9+
---
10+
11+
# My Agent
12+
13+
Describe what your agent does here...

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This is the **GitHub MCP Server**, an MCP (Model Context Protocol) server that c
4545
```bash
4646
script/lint
4747
```
48-
This runs `gofmt -s -w .` followed by `golangci-lint run` with version v2.2.1. The linter configuration is in `.golangci.yml`.
48+
This runs `gofmt -s -w .` followed by `golangci-lint run` with version v1.60.1. The linter configuration is in `.golangci.yml`.
4949

5050
5. **Generate Documentation** (required after tool changes):
5151
```bash

.github/workflows/close-inactive-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
issues: write
1515
pull-requests: write
1616
steps:
17-
- uses: actions/stale@v9
17+
- uses: actions/stale@v9
1818
with:
1919
days-before-issue-stale: ${{ env.PR_DAYS_BEFORE_STALE }}
2020
days-before-issue-close: ${{ env.PR_DAYS_BEFORE_CLOSE }}

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- name: golangci-lint
2121
uses: golangci/golangci-lint-action@v8
2222
with:
23-
version: v2.1
23+
version: v1.60.1

.golangci.yml

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "2"
1+
# version: "2" # Commented out as it's not needed for newer golangci-lint versions
22
run:
33
concurrency: 4
44
tests: true
@@ -11,27 +11,20 @@ linters:
1111
- misspell
1212
- nakedret
1313
- revive
14-
exclusions:
15-
generated: lax
16-
presets:
17-
- comments
18-
- common-false-positives
19-
- legacy
20-
- std-error-handling
21-
paths:
22-
- third_party$
23-
- builtin$
24-
- examples$
25-
settings:
26-
staticcheck:
27-
checks:
28-
- "all"
29-
- -QF1008
30-
- -ST1000
31-
formatters:
32-
exclusions:
33-
generated: lax
34-
paths:
35-
- third_party$
36-
- builtin$
37-
- examples$
14+
15+
issues:
16+
exclude-dirs:
17+
- vendor
18+
- third_party
19+
- builtin
20+
- examples
21+
exclude-files:
22+
- ".*\\.pb\\.go$"
23+
exclude-generated: strict
24+
25+
linters-settings:
26+
staticcheck:
27+
checks:
28+
- "all"
29+
- -QF1008
30+
- -ST1000

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24.4-alpine AS build
1+
FROM golang:1.25.4-alpine AS build
22
ARG VERSION="dev"
33

44
# Set the working directory

0 commit comments

Comments
 (0)