refactor: resolves a dependabot alert #330
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
name: Default Pipeline | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
jobs: | |
init: | |
uses: ./.github/workflows/00-init.yml | |
scan-secrets: | |
# disable secret scanning on "main" branch (because truffleHog has issues with this) and check for a fork as the source that's heading on the main branch, which would fail as well. | |
if: github.event.pull_request == null || github.event.pull_request.head.repo.owner.login == 'db-ui' | |
uses: ./.github/workflows/00-scan-secrets.yml | |
build: | |
uses: ./.github/workflows/01-build.yml | |
needs: [init] | |
secrets: inherit | |
lint: | |
uses: ./.github/workflows/01-lint.yml | |
needs: [init] | |
secrets: inherit | |