diff --git a/.github/workflows/ci-standard-checks.yml b/.github/workflows/ci-standard-checks.yml index 44a6f11..0f58bf4 100644 --- a/.github/workflows/ci-standard-checks.yml +++ b/.github/workflows/ci-standard-checks.yml @@ -2,25 +2,28 @@ name: CI Standard Checks on: push: branches: - - master + - main pull_request: - types: [opened, edited, synchronize, reopened] + types: + - opened + - edited + - synchronize + - reopened + - ready_for_review branches: - - master - + - main jobs: ci-standard-checks: - runs-on: [ubuntu-latest] - + runs-on: + - self-hosted + - automated-checks-ephemeral steps: - name: Check Out Source Code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - - name: CI Standard Checks uses: Typeform/ci-standard-checks@v1 with: githubToken: ${{ secrets.GITHUB_TOKEN }} - dockerUsername: ${{ secrets.GITLEAKS_DOCKER_USERNAME }} - dockerPassword: ${{ secrets.GITLEAKS_DOCKER_PASSWORD }} + skipChecks: required-typescript diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e30587..973c5ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,9 +5,6 @@ on: branches: - master -env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - jobs: build: name: Run checks and build @@ -25,6 +22,8 @@ jobs: - name: Check out Git repository uses: actions/checkout@v2 + with: + access_token: ${{ secrets.GH_TOKEN }} - name: Get the version id: get_version