Skip to content

Commit 07b3553

Browse files
committed
style: apply consistent formatting to GitHub configuration files
- Update issue templates and workflow files - Standardize YAML formatting across all configs - Improve readability and maintainability
1 parent 741149f commit 07b3553

File tree

13 files changed

+58
-59
lines changed

13 files changed

+58
-59
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Bug report
22
description: Report incorrect behavior, test failure, or unexpected output in this Go library
33
title: "[Bug] <brief description of the issue>"
4-
labels: [ "bug-p3" ]
4+
labels: ["bug-p3"]
55
assignees:
66
- mrz1836
77
body:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Feature request
22
description: Suggest an idea or improvement for this project
33
title: "[Feature] <brief description of feature>"
4-
labels: [ "idea" ]
4+
labels: ["idea"]
55
assignees:
66
- mrz1836
77
body:

.github/ISSUE_TEMPLATE/new_function.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: New Function Request
22
description: Request the addition of a new Go function with full test, benchmark, and documentation coverage.
33
title: "[Function] Add <FunctionName>"
4-
labels: [ "feature", "test", "documentation" ]
4+
labels: ["feature", "test", "documentation"]
55
assignees:
66
- mrz1836
77
body:

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Question
22
description: General template for asking a question related to this project
33
title: "[Question] <your topic here>"
4-
labels: [ "question" ]
4+
labels: ["question"]
55
assignees:
66
- mrz1836
77
body:

.github/actions/load-env/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
#
1616
# ------------------------------------------------------------------------------------
1717

18-
name: 'Load Environment Variables'
19-
description: 'Loads environment variables from .github/.env.shared and outputs as JSON'
18+
name: "Load Environment Variables"
19+
description: "Loads environment variables from .github/.env.shared and outputs as JSON"
2020

2121
outputs:
2222
env-json:
23-
description: 'JSON object containing all environment variables'
23+
description: "JSON object containing all environment variables"
2424
value: ${{ steps.load-env.outputs.env-json }}
2525
primary-runner:
26-
description: 'Primary runner OS extracted from environment variables'
26+
description: "Primary runner OS extracted from environment variables"
2727
value: ${{ steps.load-env.outputs.primary-runner }}
2828

2929
runs:

.github/actions/warm-cache/action.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,32 @@
88
#
99
# ------------------------------------------------------------------------------------
1010

11-
name: 'Warm Go Caches'
12-
description: 'Warm Go module and build caches for the specified Go version and OS'
11+
name: "Warm Go Caches"
12+
description: "Warm Go module and build caches for the specified Go version and OS"
1313

1414
inputs:
1515
go-version:
16-
description: 'Go version to use'
16+
description: "Go version to use"
1717
required: true
1818
matrix-os:
19-
description: 'Operating system for the runner'
19+
description: "Operating system for the runner"
2020
required: true
2121
matrix-name:
22-
description: 'Display name for the matrix configuration'
22+
description: "Display name for the matrix configuration"
2323
required: true
2424
enable-verbose:
25-
description: 'Enable verbose output'
25+
description: "Enable verbose output"
2626
required: false
27-
default: 'false'
27+
default: "false"
2828
go-primary-version:
29-
description: 'Primary Go version for comparison'
29+
description: "Primary Go version for comparison"
3030
required: true
3131
go-secondary-version:
32-
description: 'Secondary Go version for comparison'
32+
description: "Secondary Go version for comparison"
3333
required: true
3434

3535
runs:
36-
using: 'composite'
36+
using: "composite"
3737
steps:
3838
# ————————————————————————————————————————————————————————————————
3939
# Checkout code, set up Go, and cache dependencies
@@ -59,7 +59,7 @@ runs:
5959
# ────────────────────────────────────────────────────────────────────────────
6060
- name: 💾 Restore Go module cache (shared)
6161
id: gomod-cache
62-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
62+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
6363
with:
6464
path: |
6565
~/go/pkg/mod
@@ -133,7 +133,7 @@ runs:
133133
# ────────────────────────────────────────────────────────────────────────────
134134
- name: 💾 Restore Go build cache (per-version)
135135
id: gobuild-cache
136-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
136+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
137137
with:
138138
path: |
139139
~/.cache/go-build

.github/dependabot.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ updates:
4747
- "*auth*"
4848
- "*jwt*"
4949
- "*oauth*"
50-
update-types: [ "minor", "patch" ]
50+
update-types: ["minor", "patch"]
5151
open-pull-requests-limit: 10
52-
assignees: [ "mrz1836" ]
53-
labels: [ "chore", "dependencies", "gomod" ]
52+
assignees: ["mrz1836"]
53+
labels: ["chore", "dependencies", "gomod"]
5454
commit-message:
5555
prefix: "chore"
5656
include: "scope"
@@ -70,10 +70,10 @@ updates:
7070
- dependency-type: "direct"
7171
groups:
7272
ghactions-all:
73-
patterns: [ "*" ]
73+
patterns: ["*"]
7474
open-pull-requests-limit: 10
75-
assignees: [ "mrz1836" ]
76-
labels: [ "chore", "dependencies", "github-actions" ]
75+
assignees: ["mrz1836"]
76+
labels: ["chore", "dependencies", "github-actions"]
7777
commit-message:
7878
prefix: "chore"
7979
include: "scope"
@@ -93,10 +93,10 @@ updates:
9393
- dependency-type: "direct"
9494
groups:
9595
devcontainer-all:
96-
patterns: [ "*" ]
96+
patterns: ["*"]
9797
open-pull-requests-limit: 5
98-
assignees: [ "mrz1836" ]
99-
labels: [ "chore", "dependencies", "devcontainer" ]
98+
assignees: ["mrz1836"]
99+
labels: ["chore", "dependencies", "devcontainer"]
100100
commit-message:
101101
prefix: "chore"
102102
include: "scope"

.github/sweep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gha_enabled: true
22
branch: master
3-
blocked_dirs: [ ]
3+
blocked_dirs: []
44
draft: false
55
description: |
66
Sweep AI must follow the repository guidelines in .github/AGENTS.md.

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name: "CodeQL"
77

88
on:
99
push:
10-
branches: [ master ]
10+
branches: [master]
1111
pull_request:
1212
# The branches below must be a subset of the branches above
13-
branches: [ master ]
13+
branches: [master]
1414
schedule:
15-
- cron: '0 8 * * 1' # Every Monday at 08:00 UTC
15+
- cron: "0 8 * * 1" # Every Monday at 08:00 UTC
1616

1717
concurrency:
1818
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -29,14 +29,14 @@ jobs:
2929
permissions:
3030
actions: read
3131
contents: read
32-
security-events: write # Required for CodeQL to upload results
32+
security-events: write # Required for CodeQL to upload results
3333

3434
strategy:
3535
fail-fast: false
3636
matrix:
3737
# Override automatic language detection by changing the below list
3838
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
39-
language: [ 'go' ]
39+
language: ["go"]
4040
# Learn more...
4141
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
4242

.github/workflows/stale-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ name: Stale Check
2424
on:
2525
schedule:
2626
# ┌─ min ─┬─ hour ─┬─ dom ─┬─ mon ─┬─ dow ─┐
27-
- cron: '0 12 * * 1-5' # 7:00 AM EST (12:00 UTC)
28-
workflow_dispatch: # Allow manual triggering
27+
- cron: "0 12 * * 1-5" # 7:00 AM EST (12:00 UTC)
28+
workflow_dispatch: # Allow manual triggering
2929

3030
# ————————————————————————————————————————————————————————————————
3131
# Permissions
@@ -75,8 +75,8 @@ jobs:
7575
needs: [load-env]
7676
runs-on: ubuntu-latest
7777
permissions:
78-
issues: write # Required to add labels and comments
79-
pull-requests: write # Required to add labels and comments on PRs
78+
issues: write # Required to add labels and comments
79+
pull-requests: write # Required to add labels and comments on PRs
8080

8181
steps:
8282
# ————————————————————————————————————————————————————————————————

0 commit comments

Comments
 (0)