Skip to content

Bump helmet from 8.1.0 to 8.3.0 #51

Bump helmet from 8.1.0 to 8.3.0

Bump helmet from 8.1.0 to 8.3.0 #51

Workflow file for this run

name: Enterprise CI/CD Pipeline
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
IMAGE_NAME: ${{ github.repository }}
jobs:
trivy-security-scan:
name: Source Code Security Scan
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'table'
severity: 'CRITICAL,HIGH'
call-build:

Check failure on line 31 in .github/workflows/main-ci-cd.yml

View workflow run for this annotation

GitHub Actions / Enterprise CI/CD Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/main-ci-cd.yml (Line: 31, Col: 3): Error calling workflow 'Dipendra2003/StudyForge/.github/workflows/reusable-build.yml@766ed976e3dc2a54046e9ce298c09c654627138f'. The nested job 'build' is requesting 'packages: write', but is only allowed 'packages: read'.
name: Build Image
needs: trivy-security-scan
uses: ./.github/workflows/reusable-build.yml
with:
image-name: ${{ github.repository }}
push: ${{ github.event_name != 'pull_request' }}
secrets: inherit
call-deploy-production:
name: Deploy to Production
needs: call-build
# Only deploy on pushes to main, not on PRs
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
uses: ./.github/workflows/reusable-deploy.yml
with:
environment: production
image-name: ${{ github.repository }}
image_tag: ${{ needs.call-build.outputs.image_tag }}
secrets: inherit