Skip to content

Commit 5d6922d

Browse files
committed
Merge branch 'master' of github.com:target/goalert into javascript-to-typescript-actions
2 parents 433eaf6 + fad95c5 commit 5d6922d

319 files changed

Lines changed: 26218 additions & 35168 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dco.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
####
2+
# This file configures dco2, a tool Target uses to nudge contributors to sign-off their
3+
# adherence to the DCO agreement.
4+
#
5+
# dco2: https://github.com/cncf/dco2
6+
#
7+
# For more information about Target's use of the Developer Certificate of Origin standard,
8+
# please see https://github.com/target/.github.
9+
#
10+
# This file should be kept in sync with https://github.com/target/.github/blob/main/dco.yml
11+
#
12+
####
13+
# https://github.com/cncf/dco2?#remediation-commits
14+
allowRemediationCommits:
15+
# Allow individual remediation commits
16+
# https://github.com/cncf/dco2?#individual
17+
individual: true
18+
# DO NOT Allow third-party remediation commits
19+
# https://github.com/cncf/dco2?#third-party
20+
thirdParty: false
21+
22+
require:
23+
# Target contributors are NOT required to sign-off commits
24+
# https://github.com/cncf/dco2?#skipping-sign-off-for-organization-members
25+
members: false

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
with:
4444
go-version: '1.23'
4545
- name: Checkout repository
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v6
4747

4848
# Initializes the CodeQL tools for scanning.
4949
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@v3
50+
uses: github/codeql-action/init@v4
5151
with:
5252
languages: ${{ matrix.language }}
5353
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -60,7 +60,7 @@ jobs:
6060
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
6161
# If this step fails, then you should remove it and run the build manually (see below)
6262
- name: Autobuild
63-
uses: github/codeql-action/autobuild@v3
63+
uses: github/codeql-action/autobuild@v4
6464

6565
# ℹ️ Command-line programs to run using the OS shell.
6666
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -73,6 +73,6 @@ jobs:
7373
# ./location_of_script_within_repo/buildscript.sh
7474

7575
- name: Perform CodeQL Analysis
76-
uses: github/codeql-action/analyze@v3
76+
uses: github/codeql-action/analyze@v4
7777
with:
7878
category: '/language:${{matrix.language}}'

.github/workflows/dep-autoapprove.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/setup-go@v5
1515
with:
1616
go-version: '1.23'
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818
with:
1919
ref: ${{ github.head_ref }}
2020
- uses: actions/cache@v4
@@ -23,7 +23,7 @@ jobs:
2323
path: ~/.bun/install/cache
2424
- name: Run make generate
2525
run: make generate
26-
- uses: stefanzweifel/git-auto-commit-action@v5
26+
- uses: stefanzweifel/git-auto-commit-action@v6
2727
with:
2828
commit_message: Apply make generate changes
2929
- name: Approve a PR

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
with:
2121
go-version: '1.23'
2222
cache: false
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v6
2424
- name: golangci-lint
25-
uses: golangci/golangci-lint-action@v6
25+
uses: golangci/golangci-lint-action@v8
2626
with:
2727
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
2828
version: latest

.github/workflows/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
if: github.event.pull_request.draft == false
1313
name: Label the PR size
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616
with: # checkout the base branch, where we run the script from
1717
path: base
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
with: # checkout the merge commit, where the PR changes are
2020
ref: refs/pull/${{ github.event.number }}/merge
2121
path: merge

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/setup-go@v5
1414
with:
1515
go-version: '1.24'
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
- uses: actions/cache@v4
1818
with:
1919
key: key

.github/workflows/migrations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.event.pull_request.draft == false
1313
name: Validate Migration Order
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0
1818
- name: Run validation script

.golangci.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: '2'
2+
linters:
3+
settings:
4+
errcheck:
5+
exclude-functions:
6+
- '(*database/sql.Rows).Close'
7+
- '(*database/sql.DB).Close'
8+
- '(*database/sql.Conn).Close'
9+
- '(*os.File).Close'
10+
- '(io/fs.File).Close'
11+
- '(io.Closer).Close'
12+
- '(net.Listener).Close'
13+
- '(net.Conn).Close'
14+
- '(*crypto/tls.Conn).Close'
15+
- '(*compress/gzip.Reader).Close'
16+
- '(*github.com/jackc/pgx/v5.Conn).Close'
17+
- '(*google.golang.org/grpc.ClientConn).Close'
18+
- (*github.com/hashicorp/yamux.Session).Close
19+
- (*net/http.Server).Close
20+
- (*io.PipeReader).Close
21+
- (*io.PipeWriter).Close
22+
- fmt.Fprintf

.labelignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
go.mod
33
go.sum
44
.yarn/releases/*
5+
.storybook/static/mockServiceWorker.js

.storybook/main.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@ import type { StorybookConfig } from '@storybook/react-vite'
33
const config: StorybookConfig = {
44
staticDirs: ['./static'],
55
stories: ['../web/src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
6-
addons: [
7-
'@storybook/addon-links',
8-
'@storybook/addon-essentials',
9-
'@storybook/addon-interactions',
10-
],
6+
addons: ['@storybook/addon-links'],
7+
118
framework: {
129
name: '@storybook/react-vite',
1310
options: {},
1411
},
15-
docs: {
16-
autodocs: 'tag',
17-
},
1812
}
1913
export default config

0 commit comments

Comments
 (0)