Skip to content

Set FeedID in delegate's logger only if non-zero #33922

Set FeedID in delegate's logger only if non-zero

Set FeedID in delegate's logger only if non-zero #33922

Workflow file for this run

name: 'CodeQL'
on:
push:
branches:
- develop
- staging
- trying
- rollup
pull_request:
# The branches below must be a subset of the branches above
branches: [develop]
schedule:
- cron: '23 19 * * 4'
jobs:
analyze:
name: Analyze ${{ matrix.language }}
runs-on: ubuntu20.04-4cores-16GB
strategy:
fail-fast: false
matrix:
language: ['go', 'javascript']
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set up Go
if: ${{ matrix.language == 'go' }}
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Touching core/web/assets/index.html
if: ${{ matrix.language == 'go' }}
run: mkdir -p core/web/assets && touch core/web/assets/index.html
- name: Initialize CodeQL
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
- name: Collect Metrics
if: always()
id: collect-gha-metrics
uses: smartcontractkit/push-gha-metrics-action@90fcbaac8ebf86da9c4d55dba24f6fe3029f0e0b
with:
basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_CLOUD_HOST }}
this-job-name: Analyze ${{ matrix.language }}
continue-on-error: true