Adding standard checks

This commit is contained in:
Matias Ozdy 2023-10-17 12:27:54 +02:00
parent 42fafc1a49
commit 151e20c2bc

View file

@ -2,25 +2,28 @@ name: CI Standard Checks
on: on:
push: push:
branches: branches:
- master - main
pull_request: pull_request:
types: [opened, edited, synchronize, reopened] types:
- opened
- edited
- synchronize
- reopened
- ready_for_review
branches: branches:
- master - main
jobs: jobs:
ci-standard-checks: ci-standard-checks:
runs-on: [ubuntu-latest] runs-on:
- self-hosted
- automated-checks-ephemeral
steps: steps:
- name: Check Out Source Code - name: Check Out Source Code
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: CI Standard Checks - name: CI Standard Checks
uses: Typeform/ci-standard-checks@v1 uses: Typeform/ci-standard-checks@v1
with: with:
githubToken: ${{ secrets.GITHUB_TOKEN }} githubToken: ${{ secrets.GITHUB_TOKEN }}
dockerUsername: ${{ secrets.GITLEAKS_DOCKER_USERNAME }} skipChecks: required-typescript
dockerPassword: ${{ secrets.GITLEAKS_DOCKER_PASSWORD }}