Update bytemare/workflows digest to 6a1ecd6 (#75) #28
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: Analysis | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
# Every 3 days at 7 a.m. | |
- cron: '0 7 */3 * *' | |
permissions: {} | |
jobs: | |
Lint: | |
permissions: | |
contents: read | |
uses: bytemare/workflows/.github/workflows/golangci-lint.yml@6a1ecd61e6af01d166be3eaa6d38fcecf7754c08 | |
with: | |
config-path: ./.github/.golangci.yml | |
scope: ./... | |
CodeQL: | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
uses: bytemare/workflows/.github/workflows/codeql.yml@6a1ecd61e6af01d166be3eaa6d38fcecf7754c08 | |
with: | |
language: go | |
CodeScans: | |
permissions: | |
contents: read | |
uses: bytemare/workflows/.github/workflows/scan-go.yml@6a1ecd61e6af01d166be3eaa6d38fcecf7754c08 | |
with: | |
sonar-configuration: .github/sonar-project.properties | |
coverage-output-file: coverage.out | |
secrets: | |
github: ${{ secrets.GITHUB_TOKEN }} | |
sonar: ${{ secrets.SONAR_TOKEN }} | |
codecov: ${{ secrets.CODECOV_TOKEN }} | |
semgrep: ${{ secrets.SEMGREP_APP_TOKEN }} | |
Scorecard: | |
permissions: | |
# Needed if using Code scanning alerts | |
security-events: write | |
# Needed for GitHub OIDC token if publish_results is true | |
id-token: write | |
# Needed for nested workflow | |
actions: read | |
attestations: read | |
checks: read | |
contents: read | |
deployments: read | |
issues: read | |
discussions: read | |
packages: read | |
pages: read | |
pull-requests: read | |
repository-projects: read | |
statuses: read | |
uses: bytemare/workflows/.github/workflows/scorecard.yml@6a1ecd61e6af01d166be3eaa6d38fcecf7754c08 | |
secrets: | |
token: ${{ secrets.SCORECARD_TOKEN }} |