Skip to content

main 브렌치 최신화#15

Merged
33Auto-Bot merged 52 commits intomainfrom
dev
Oct 17, 2025
Merged

main 브렌치 최신화#15
33Auto-Bot merged 52 commits intomainfrom
dev

Conversation

@yangjiseonn
Copy link
Contributor

📝 Summary

main 브렌치 최신화

🙏 Question & PR point

📬 Reference

yangjiseonn and others added 30 commits October 12, 2025 20:12
Dev브랜치를 업데이트합니다
[FEAT] 대리점 부품 조회 기능
[FEAT] 장바구니 기능 추가
[FIX] API 경로 수정
[FEAT] 부품 조회를 읽기전용 DB로 전환
[FIX] 장바구니 수정
Comment on lines +10 to +15
uses: 33-Auto/.github/.github/workflows/reusable-pr-reminder.yml@main
secrets:
# 해당 시크릿은 조직의 시크릿에 저장되어 있음
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
SLACK_USER_MAP: ${{ vars.SLACK_USER_MAP }} No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}

Copilot Autofix

AI 4 months ago

To fix this issue, add an explicit permissions block with the least required permissions for the workflow. Since the top-level workflow here simply calls a reusable workflow and doesn't appear to need any write access, start by restricting the permissions to contents: read, which will prevent any accidental write operations to the repository. If the reusable workflow requires extra permissions such as issues: write or pull-requests: write, add those specifically; otherwise, keep to just contents: read. Place the permissions: key at the root level (between the name: and the on: block) in .github/workflows/pr-reminder.yml.


Suggested changeset 1
.github/workflows/pr-reminder.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/pr-reminder.yml b/.github/workflows/pr-reminder.yml
--- a/.github/workflows/pr-reminder.yml
+++ b/.github/workflows/pr-reminder.yml
@@ -1,4 +1,6 @@
   name: PR Reminder
+  permissions:
+    contents: read
 
   on:
     schedule:
EOF
@@ -1,4 +1,6 @@
name: PR Reminder
permissions:
contents: read

on:
schedule:
Copilot is powered by AI and may make mistakes. Always verify output.
Comment on lines +10 to +20
runs-on: ubuntu-latest
steps:
- name: Trigger infra repo deploy workflow
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.ORGANIZATION_TOKEN }}
# [중요] 아래 repository 값은 모든 앱이 공유하는 '중앙 인프라 리포지토리' 주소이다.
repository: 33-Auto/Sampoom-Management-Infra
event-type: deploy
# 'Sampoom-Management-Backend-Part'은 스크립트가 동적으로 치환할 자리표시자(placeholder)이다.
client-payload: '{"service":"Sampoom-Management-Backend-Part","branch":"main"}' No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}

Copilot Autofix

AI 4 months ago

To fix the problem, we should add a permissions: block to the workflow, specifically to the job trigger-infra in .github/workflows/trigger_infra.yml. This block should specify least-privilege permissions needed for the workflow to perform its tasks. Since this workflow primarily uses a personal access token to dispatch events to another repository and does not modify contents, most likely only contents: read is required for minimal safety (unless future steps are added that need more).
Add the following lines just before the runs-on: line of the job definition:

permissions:
  contents: read

If analysis of all steps confirms that no further permissions are required, this is the most secure approach.

Suggested changeset 1
.github/workflows/trigger_infra.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/trigger_infra.yml b/.github/workflows/trigger_infra.yml
--- a/.github/workflows/trigger_infra.yml
+++ b/.github/workflows/trigger_infra.yml
@@ -7,6 +7,8 @@
 
 jobs:
   trigger-infra:
+    permissions:
+      contents: read
     runs-on: ubuntu-latest
     steps:
       - name: Trigger infra repo deploy workflow
EOF
@@ -7,6 +7,8 @@

jobs:
trigger-infra:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Trigger infra repo deploy workflow
Copilot is powered by AI and may make mistakes. Always verify output.
@coderabbitai
Copy link

coderabbitai bot commented Oct 17, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Member

@CHOOSLA CHOOSLA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

승인!

@33Auto-Bot 33Auto-Bot merged commit 850d5c4 into main Oct 17, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants