Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
therealbenpai committed Aug 3, 2024
1 parent 47bad26 commit ca3f316
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/bumpsh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca3f316

Please sign in to comment.