-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d871802
commit 2fe9dcf
Showing
1 changed file
with
33 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,37 @@ | ||
# TODO: figure out how to trigger workflow from vercel for nx | ||
|
||
# name: Lint | ||
# on: | ||
# push: | ||
# branches: | ||
# - main | ||
# pull_request: | ||
# branches: | ||
# - main | ||
name: Lint | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
# jobs: | ||
# build: | ||
# continue-on-error: False | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Install modules | ||
# run: yarn | ||
# - name: Run ESLint | ||
# run: ./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx | ||
# - name: Run Test | ||
# run: yarn test | ||
|
||
# scan: | ||
# name: gitleaks | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# with: | ||
# fetch-depth: 0 | ||
# - uses: actions/setup-go@v3 | ||
# with: | ||
# go-version: "1.17.7" | ||
# - run: | | ||
# wget https://github.com/zricethezav/gitleaks/releases/download/v8.10.1/gitleaks_8.10.1_linux_x64.tar.gz && \ | ||
# tar -xzf gitleaks_8.10.1_linux_x64.tar.gz && \ | ||
# sudo install gitleaks /usr/bin && \ | ||
# gitleaks detect --report-format json --report-path leak_report -v | ||
jobs: | ||
# build: | ||
# continue-on-error: False | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Install modules | ||
# run: yarn | ||
# - name: Run ESLint | ||
# run: ./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx | ||
# - name: Run Test | ||
# run: yarn test | ||
|
||
scan: | ||
name: gitleaks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.17.7' | ||
- run: | | ||
wget https://github.com/zricethezav/gitleaks/releases/download/v8.10.1/gitleaks_8.10.1_linux_x64.tar.gz && \ | ||
tar -xzf gitleaks_8.10.1_linux_x64.tar.gz && \ | ||
sudo install gitleaks /usr/bin && \ | ||
gitleaks detect -c apps/autonolas-registry/.gitleaksignore --report-format json --report-path leak_report -v |