fix(deps): update github.com/dghubble/go-twitter digest to 912508c #821
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
# Copyright 2020 Wayback Archiver. All rights reserved. | |
# Use of this source code is governed by the GNU GPL v3 | |
# license that can be found in the LICENSE file. | |
name: "Analysis" | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '33 23 * * 4' | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
scorecards: | |
name: Scorecards | |
uses: wabarc/.github/.github/workflows/reusable-scorecards.yml@main | |
if: | | |
github.event_name == 'pull_request' || | |
github.ref == 'refs/heads/main' | |
permissions: | |
# Needed to upload the results to code-scanning dashboard. | |
security-events: write | |
# Used to receive a badge. (Upcoming feature) | |
id-token: write | |
actions: read | |
contents: read | |
codeql: | |
name: CodeQL | |
permissions: | |
security-events: write | |
actions: read | |
contents: read | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'go' ] | |
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] | |
# Learn more: | |
# https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed | |
uses: wabarc/.github/.github/workflows/reusable-codeql.yml@main | |
with: | |
language: ${{ matrix.language }} | |
config-file: './.github/codeql/codeql-config.yml' | |
egress-policy: audit | |
nancy: | |
name: Sonatype Nancy | |
uses: wabarc/.github/.github/workflows/reusable-nancy.yml@main | |
semgrep: | |
name: Semgrep Scan | |
if: github.actor != 'dependabot[bot]' | |
uses: wabarc/.github/.github/workflows/reusable-semgrep.yml@main | |
permissions: | |
# Needed to upload the results to code-scanning dashboard. | |
security-events: write | |
actions: read | |
contents: read | |
fossa: | |
if: github.event_name != 'pull_request' | |
name: FOSSA | |
uses: wabarc/.github/.github/workflows/reusable-fossa.yml@main | |
secrets: | |
fossa-apikey: ${{ secrets.FOSSA_APIKEY }} | |
dependency-review: | |
name: Dependency Review | |
uses: wabarc/.github/.github/workflows/reusable-dependency-review.yml@main | |
trivy: | |
name: Trivy | |
uses: wabarc/.github/.github/workflows/reusable-trivy.yml@main | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | |
#actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | |
with: | |
scan-type: 'fs' | |
sarif: 'filesystem.sarif' | |
egress-policy: audit |