Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Update ci.yml #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
23 changes: 13 additions & 10 deletions .github/workflows/ci-standard-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
branches:
- master

env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

jobs:
build:
name: Run checks and build
Expand All @@ -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
Expand Down