Repository navigation
Setting/#1 setting #2
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
Changes from all commits
0c8ecfd
1ecefbc
1c5160d
06abace
9db7771
4c0b150
d307dae
b7378ee
ac79de9
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,3 @@ | ||
| gradlew text eol=lf | ||
| *.sh text eol=lf | ||
| *.bat text eol=crlf |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| --- | ||
| name: κΈ°λ₯ ꡬν μ΄μ ν νλ¦Ώ | ||
| about: κΈ°λ₯ ꡬν κ΄λ ¨ μ΄μ ν νλ¦Ώμ λλ€. | ||
| title: '' | ||
| labels: '' | ||
| assignees: '' | ||
|
|
||
| --- | ||
|
|
||
| ## μ΄λ€ κΈ°λ₯μΈκ°μ? | ||
|
|
||
| > μΆκ°νλ €λ κΈ°λ₯μ λν΄ κ°κ²°νκ² μ€λͺ ν΄μ£ΌμΈμ | ||
|
|
||
| ## μμ μμΈ λ΄μ© | ||
|
|
||
| - [ ] | ||
|
|
||
| ## μ°Έκ³ ν λ§ν μλ£(μ ν) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| name: μμ & 리ν©ν λ§ κ΄λ ¨ μ΄μ ν νλ¦Ώ | ||
| about: μμ & 리ν©ν λ§ κ΄λ ¨ μ΄μ ν νλ¦Ώμ λλ€. | ||
| title: '' | ||
| labels: '' | ||
| assignees: '' | ||
|
|
||
| --- | ||
|
|
||
| ## μ΄λ€ κΈ°λ₯μΈκ°μ? | ||
|
|
||
| > μμ /리ν©ν λ§νλ €λ κΈ°λ₯μ λν΄ κ°κ²°νκ² μ€λͺ ν΄μ£ΌμΈμ | ||
|
|
||
| ## μμ μμΈ λ΄μ© | ||
|
|
||
| - [ ] TODO | ||
| - [ ] TODO | ||
| - [ ] TODO | ||
|
|
||
| ## μ°Έκ³ ν λ§ν μλ£(μ ν) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| ## π μ΄μ λ° μμ μ€μΈ λΈλμΉ | ||
|
|
||
| - | ||
|
|
||
| ## π μ£Όμ λ΄μ© | ||
|
|
||
| - | ||
|
|
||
|
|
||
| ## Check List | ||
|
|
||
| - [ ] **Assignees** λ±λ‘μ νμλμ? | ||
| - [ ] **λΌλ²¨(Label)** λ±λ‘μ νμλμ? | ||
| - [ ] PR λ¨Έμ§νκΈ° μ λ°λμ **CIκ° μ μμ μΌλ‘ μλνλμ§ νμΈ**ν΄μ£ΌμΈμ! |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: '21' | ||
| distribution: 'temurin' | ||
| cache: 'gradle' | ||
| - name: Test | ||
| run: ./gradlew test --no-daemon | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,10 @@ | ||||||
| .gradle/ | ||||||
| build/ | ||||||
| !gradle/wrapper/gradle-wrapper.jar | ||||||
| .idea/ | ||||||
| *.iml | ||||||
| .kotlin/ | ||||||
| .env | ||||||
| data/ | ||||||
|
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.
μ¬λμλ‘ λλλ ν¨ν΄μ νμ κ²½λ‘λ₯Ό ν¬ν¨ν΄ μ΄λ¦μ΄ μμ μ μ
Committable suggestion
|
||||||
|
|
||||||
| src/test/ | ||||||
|
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.
μμ μ μ
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| plugins { | ||
| id("org.springframework.boot") version "3.5.9" | ||
| id("io.spring.dependency-management") version "1.1.7" | ||
| kotlin("jvm") version "1.9.25" | ||
| kotlin("plugin.spring") version "1.9.25" | ||
| kotlin("plugin.jpa") version "1.9.25" | ||
| } | ||
|
|
||
| group = "com.option" | ||
| version = "0.0.1-SNAPSHOT" | ||
|
|
||
| java { | ||
| toolchain { | ||
| languageVersion = JavaLanguageVersion.of(21) | ||
| } | ||
| } | ||
|
|
||
| repositories { | ||
| mavenCentral() | ||
| } | ||
|
|
||
| dependencies { | ||
| // κΈ°λ³Έ | ||
| implementation("org.springframework.boot:spring-boot-starter-web") | ||
| implementation("org.springframework.boot:spring-boot-starter-data-jpa") | ||
| implementation("org.springframework.boot:spring-boot-starter-validation") | ||
|
|
||
| // kotlin | ||
| implementation("com.fasterxml.jackson.module:jackson-module-kotlin") | ||
| implementation("org.jetbrains.kotlin:kotlin-reflect") | ||
|
|
||
| // swagger | ||
| implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.4") | ||
|
|
||
| // security | ||
| implementation("org.springframework.boot:spring-boot-starter-security") | ||
| implementation("io.jsonwebtoken:jjwt-api:0.12.6") | ||
| runtimeOnly("io.jsonwebtoken:jjwt-impl:0.12.6") | ||
| runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.12.6") // JSON νμ±μ© | ||
|
|
||
| // db | ||
| runtimeOnly("org.postgresql:postgresql") | ||
|
|
||
| // μμ νμ± | ||
| implementation("org.apache.poi:poi-ooxml:5.4.1") | ||
|
|
||
| // grafana | ||
| implementation("org.springframework.boot:spring-boot-starter-actuator") | ||
| implementation("io.micrometer:micrometer-registry-prometheus") | ||
|
|
||
| // test | ||
| testImplementation("org.springframework.boot:spring-boot-starter-test") | ||
| testImplementation("org.springframework.security:spring-security-test") | ||
| testImplementation("org.mockito.kotlin:mockito-kotlin:5.4.0") | ||
| testImplementation("org.testcontainers:postgresql") | ||
| testImplementation("org.testcontainers:junit-jupiter") | ||
| testImplementation("com.tngtech.archunit:archunit-junit5:1.3.0") | ||
| testRuntimeOnly("org.junit.platform:junit-platform-launcher") | ||
| } | ||
|
|
||
| kotlin { | ||
| compilerOptions { | ||
| freeCompilerArgs.addAll("-Xjsr305=strict") | ||
| } | ||
| } | ||
|
|
||
| tasks.withType<Test> { | ||
| useJUnitPlatform() | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip | ||
| networkTimeout=10000 | ||
| retries=0 | ||
| retryBackOffMs=500 | ||
| validateDistributionUrl=true | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μν¬νλ‘μ μ΅μ κΆνμ μ§μ νμΈμ.
permissionsλΈλ‘μ΄ μμ΄ μ μ₯μ κΈ°λ³ΈGITHUB_TOKENκΆνμ μ¬μ©ν©λλ€. λΉλμ ν μ€νΈμλ μ½κΈ° κΆνλ§ νμν©λλ€.actions/checkoutμ κΈ°λ³Έμ μΌλ‘ ν ν°μ.git/configμ μ μ₯ν©λλ€. μ΄ μν¬νλ‘λ pushλ₯Ό νμ§ μμΌλ―λ‘persist-credentials: falseλ₯Ό μ§μ νμΈμ. μ μ λΆμ(zizmor)μ΄ κ°μ νλͺ©μ κ²½κ³ νμ΅λλ€.μμ μ μ
Committable suggestion
zizmor (1.31.1)
[warning] 12-12: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
[warning] 1-20: overly broad permissions (excessive-permissions): default permissions used due to no permissions: block
(excessive-permissions)
[warning] 9-20: overly broad permissions (excessive-permissions): default permissions used due to no permissions: block
(excessive-permissions)
[error] 12-12: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
[info] 9-9: workflow or action definition without a name (anonymous-definition): this job
(anonymous-definition)
Source: Linters/SAST tools