Skip to content

Commit

Permalink
Merge pull request #11 from openfga/chore/remove-snyk-fossa-actions
Browse files Browse the repository at this point in the history
chore(ci): remove snyk & fossa ci actions, rely on the integrations
  • Loading branch information
rhamzeh authored Mar 17, 2023
2 parents 6168670 + 10e06b3 commit fa0cdb7
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,6 @@ on:
workflow_dispatch:

jobs:
fossa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
scope: '@openfga'
always-auth: false
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run FOSSA scan and upload build data
uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
branch: ${{ github.ref_name }}
- name: Run FOSSA tests
uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
run-tests: true

snyk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

build:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -92,7 +58,7 @@ jobs:
publish:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
needs: [build, test, fossa, snyk]
needs: [build, test]

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit fa0cdb7

Please sign in to comment.