Skip to content

Commit

Permalink
CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
jlorias committed Sep 10, 2024
1 parent 75b2b92 commit 2f8908a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/dast-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: deploy

on:
push:
branches: ["main"]

jobs:
build:
name: SAST Test

runs-on: ubuntu-latest

permissions:
#Actions pueda escribir lo que ocupe
security-events: write
packages: read
actions: read
contents: read

steps:
- uses: actions/checkout@v3
name: Checkout code

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: 'javascript'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: deploy
on:
push:
branches: [ "main" ]
#Se cambia nombre del branch para evitar que se ejecute para ejecutar otros labs nombre original: main
branches: [ "main-temp" ]
env:
REGISTRY: antarescr
IMAGE_NAME: rest_api
Expand Down

0 comments on commit 2f8908a

Please sign in to comment.