From ca3f31678830533aa42b991b613e1fb7e877d8ce Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sat, 3 Aug 2024 10:45:10 -0400 Subject: [PATCH] updates --- .github/workflows/bumpsh.yml | 10 +++++----- .github/workflows/security.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/bumpsh.yml b/.github/workflows/bumpsh.yml index 58474c0..535497d 100644 --- a/.github/workflows/bumpsh.yml +++ b/.github/workflows/bumpsh.yml @@ -15,14 +15,14 @@ permissions: jobs: deploy-doc: - if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} + if: ${{ github.event_name != 'pull_request' }} name: Deploy API documentation on Bump runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@main - name: Deploy API documentation - uses: bump-sh/github-action@v1 + uses: bump-sh/github-action@master with: doc: 'e1e8a461-3b29-4d71-a8fc-010429c9761e' token: ${{secrets.BUMP_TOKEN}} @@ -33,9 +33,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@main - name: Comment pull request with API diff - uses: bump-sh/github-action@v1 + uses: bump-sh/github-action@master with: doc: 'e1e8a461-3b29-4d71-a8fc-010429c9761e' token: ${{secrets.BUMP_TOKEN}} diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 4bc9c88..5b07cad 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -29,10 +29,10 @@ jobs: uses: snyk/actions/setup@master - name: Prepare Dependencies run: | - npm i + npm i @microsoft/eslint-formatter-sarif mkdir cli-results - name: Run ESLint - run: npx eslint . --format @microsoft/eslint-formatter-sarif --output-file cli-results/eslint.sarif + run: npx eslint . --format @microsoft/eslint-formatter-sarif > cli-results/eslint.sarif continue-on-error: true - name: Run Snyk to check for vulnerabilities uses: snyk/actions/node@master