Skip to content

Security vulnerability scan #678

Security vulnerability scan

Security vulnerability scan #678

# Copyright the Hyperledger Fabric contributors. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
name: "Security vulnerability scan"
on:
workflow_dispatch:
schedule:
- cron: "50 1 * * *"
permissions:
contents: read
jobs:
scan:
# Only run the scheduled job in hyperledger/fabric repository, not on personal forks
if: github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository == 'hyperledger/fabric')
runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
strategy:
fail-fast: false
matrix:
ref:
- main
- release-2.5
steps:
- uses: actions/checkout@v4
with:
ref: ${{ matrix.ref }}
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.2
- name: Scan
run: make scan