Skip to content

Delete .github/workflows/security-scans-pr.yml #16

Delete .github/workflows/security-scans-pr.yml

Delete .github/workflows/security-scans-pr.yml #16

Workflow file for this run

name: Scan and Deploy
on:
push:
branches:
- main
permissions:
id-token: write
contents: read
security-events: write
jobs:
scan-with-trivy:
uses: tkhom3/gha-workflows/.github/workflows/scan-with-trivy-config-only.yml@main

Check failure on line 15 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy.yaml" -> "tkhom3/gha-workflows/.github/workflows/scan-with-trivy-config-only.yml@main" : failed to fetch workflow: workflow was not found.
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Cloud Formation Linter with Latest Version
uses: scottbrenner/cfn-lint-action@v2
- name: Print the Cloud Formation Linter Version & run Linter.
run: |
cfn-lint -t Cloudformation/gd-alerts.yaml
- name: configureawscredentials
id: creds
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCT_NUM }}:role/${{ secrets.AWS_ROLE_NAME }}
role-session-name: deploy-${{ github.sha }}
aws-region: ${{ secrets.AWS_REGION }}
- name: Deploy CloudFormation
id: gd-alerts
uses: aws-actions/aws-cloudformation-github-deploy@v1
with:
name: gd-alerts
template: "Cloudformation/gd-alerts.yaml"
no-fail-on-empty-changeset: "1"
parameter-overrides: >-
EmailAddress=${{ secrets.EMAIL_ADDRESS }}