Skip to content

Conversation

@fecker
Copy link
Member

@fecker fecker commented Feb 4, 2026

  • Pull Request の Security Scan と Docker Image の Build を分離
    • Secret が 混じらないようにしておく(Pull Request では使わない)

fecker and others added 2 commits February 4, 2026 15:25
Split the monolithic workflow into two separate files:
- build-and-push.yaml: Handles Docker builds and pushes (requires secrets)
- security-scan.yaml: Runs Trivy scans on PRs (no secrets required)

This separation ensures that pull requests never trigger workflows with
access to Docker Hub credentials, reducing the attack surface for this
public repository.

Also updated CLAUDE.md to reflect the new workflow architecture.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
public 用に切り出したSecret に切り替え
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

fecker and others added 2 commits February 4, 2026 15:42
各種buildをしているだけなので無視
- security-scan: Cancel outdated PR scans on new pushes
- build-and-push: Cancel outdated branch builds, protect tag builds
- Reduces CI costs and improves feedback speed

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@fecker fecker merged commit 3369ec5 into master Feb 4, 2026
2 checks passed
@fecker fecker deleted the feature-refactor-workflow branch February 4, 2026 06:59
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.

1 participant