Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge Develop #1

Merged
merged 3 commits into from
Jun 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "CodeQL"

on:
push:
branches: ["main", "develop"]
pull_request:
branches: ["main", "develop"]

jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ${{ 'ubuntu-latest' }}
timeout-minutes: ${{ 360 }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

strategy:
fail-fast: false
matrix:
include:
- language: java-kotlin
build-mode: none
- language: javascript-typescript
build-mode: none
- language: python
build-mode: none

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
27 changes: 3 additions & 24 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run Cypress

on:
push:
branches: ["main"]
branches: [main, develop]
pull_request:
branches: ["main"]
branches: [main, develop]

workflow_dispatch:

Expand Down Expand Up @@ -32,6 +32,7 @@ jobs:
path: test/cypress/mochawesome-report

upload:
if: ${{ !cancelled() && github.ref == 'refs/heads/main'}}
needs: build
runs-on: ubuntu-latest
steps:
Expand All @@ -49,25 +50,3 @@ jobs:
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: "test/cypress/mochawesome-report"
# update-readme:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repo
# uses: actions/checkout@v3

# - name: Update README
# run: |
# echo "Adding new content to README" >> README.md

# - name: Commit and push if changed
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "Nil Gallego"
# git add README.md
# # Check for changes
# git diff --exit-code --cached || (
# # Only commit and push if there are changes
# git commit -m "Update README [skip ci]"
# git push
# )
4 changes: 2 additions & 2 deletions .github/workflows/deploy_aws_vpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Validate AWS Terraform templates

on:
push:
branches: ["main"]
branches: [main, develop]
pull_request:
branches: ["main"]
branches: [main, develop]

workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_azure_vpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Validate Azure Terraform templates

on:
push:
branches: ["main"]
branches: [main, develop]
pull_request:
branches: ["main"]
branches: [main, develop]

workflow_dispatch:

Expand Down
29 changes: 3 additions & 26 deletions .github/workflows/🎭_nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run 🎭 Nodejs

on:
push:
branches: ["main"]
branches: [main, develop]
pull_request:
branches: ["main"]
branches: [main, develop]

workflow_dispatch:

Expand Down Expand Up @@ -34,6 +34,7 @@ jobs:
path: test/playwright/nodejs/playwright-report

upload:
if: ${{ !cancelled() && github.ref == 'refs/heads/main'}}
needs: build
runs-on: ubuntu-latest
steps:
Expand All @@ -51,28 +52,4 @@ jobs:
container_name: ${{ vars.CONTAINER_NAME }}
connection_string: ${{ secrets.ConnectionString }}
extra_args: "--pattern *.html"
# WARNING: this will overwrite existing blobs in your blob storage
overwrite: "true"

# update-readme:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repo
# uses: actions/checkout@v3

# - name: Update README
# run: |
# echo "Adding new content to README" >> README.md

# - name: Commit and push if changed
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "Nil Gallego"
# git add README.md
# # Check for changes
# git diff --exit-code --cached || (
# # Only commit and push if there are changes
# git commit -m "Update README [skip ci]"
# git push
# )
4 changes: 2 additions & 2 deletions .github/workflows/🎭_nodejs_📦.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Run 🎭 Nodejs 📦
on:
push:
branches: [main]
branches: [main, develop]
pull_request:
branches: [main]
branches: [main, develop]
jobs:
playwright:
name: "Playwright Tests"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/🎭_☕️.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run 🎭 ☕️

on:
push:
branches: ["main"]
branches: [main, develop]
pull_request:
branches: ["main"]
branches: [main, develop]

workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/🎭_🐍.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Run 🎭 🐍
on:
push:
branches: [main]
branches: [main, develop]
pull_request:
branches: [main]
branches: [main, develop]
jobs:
test:
timeout-minutes: 60
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/🎭_🐍_📦.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Run 🎭 🐍 📦
on:
push:
branches: [main]
branches: [main, develop]
pull_request:
branches: [main]
branches: [main, develop]
jobs:
playwright:
name: "Playwright Tests"
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
| [![Run 🎭 🐍](https://github.com/nilgaar/DevOpsMaker/actions/workflows/%F0%9F%8E%AD_%F0%9F%90%8D.yml/badge.svg)](https://github.com/nilgaar/DevOpsMaker/actions/workflows/%F0%9F%8E%AD_%F0%9F%90%8D.yml) |
| [![Run 🎭 🐍 📦](https://github.com/nilgaar/DevOpsMaker/actions/workflows/%F0%9F%8E%AD_%F0%9F%90%8D_%F0%9F%93%A6.yml/badge.svg)](https://github.com/nilgaar/DevOpsMaker/actions/workflows/%F0%9F%8E%AD_%F0%9F%90%8D_%F0%9F%93%A6.yml) |

| Security |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [![CodeQL](https://github.com/nilgaar/DevOpsMaker/actions/workflows/codeql.yml/badge.svg)](https://github.com/nilgaar/DevOpsMaker/actions/workflows/codeql.yml) |

> [!WARNING]
> This repos is WIP

Expand Down
Loading