Skip to content

Create ci.yml - #2533

Closed
bhanuprakashe wants to merge 1 commit into
fastapi:masterfrom
bhanuprakashe:patch-1
Closed

bhanuprakashe wants to merge 1 commit into
fastapi:masterfrom
bhanuprakashe:patch-1

Conversation

@bhanuprakashe

Copy link
Copy Markdown

first run

Pull Request

Discussion:

Description

AI Disclaimer

AI transcript

Checklist

  • This PR links to a GitHub Discussion for the proposed code change.
  • I added tests for the change.
  • The new or updated tests fail on the main branch and pass on this PR.
  • Coverage stays at 100%.
  • The documentation explains the change if needed.

first run
@latest-changes latest-changes Bot added the internal Internal changes label Nov 27, 2026
Comment thread .github/workflows/ci.yml

permissions:
contents: read
packages: write
Comment thread .github/workflows/ci.yml
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
Comment thread .github/workflows/ci.yml
fetch-depth: 0 # Full history needed for Gitleaks & SonarQube

- name: 1. Secret Scanning (Gitleaks)
uses: gitleaks/gitleaks-action@v2
Comment thread .github/workflows/ci.yml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: 2. Setup Python & Dependency Cache
uses: actions/setup-python@v5
Comment thread .github/workflows/ci.yml
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
Comment thread .github/workflows/ci.yml
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Multi-Stage Docker Image (Tagged with Git SHA)
uses: docker/build-push-action@v6
Comment thread .github/workflows/ci.yml
tags: ghcr.io/${{ github.repository }}:${{ github.sha }}

- name: Scan Image for CVEs with Trivy
uses: aquasecurity/trivy-action@master
Comment thread .github/workflows/ci.yml
permissions:
contents: read
packages: write
security-events: write
Comment thread .github/workflows/ci.yml
Comment on lines +19 to +22
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Full history needed for Gitleaks & SonarQube
Comment thread .github/workflows/ci.yml
Comment on lines +53 to +54
- name: Checkout Code
uses: actions/checkout@v4
@bhanuprakashe

Copy link
Copy Markdown
Author

not needed

@bhanuprakashe
bhanuprakashe deleted the patch-1 branch November 27, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Internal changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants