Revert: (macOS) New Firewall option: Bypass Apple Services #663
Workflow file for this run
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: "Security Scan (gosec)" | |
on: | |
pull_request: | |
branches: [ master, beta, development, test ] | |
push: | |
branches: [ master, beta, development, test ] | |
permissions: read-all | |
jobs: | |
testsLinux: | |
name: Tests (runs on Linux) | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v4 | |
- name: Run Gosec Security Scanner | |
#uses: securego/gosec@master | |
uses: securego/[email protected] #TODO: Use gosec@master. This is temporary because the latest version (2.21.1) has SARIF format compatibility issues with GitHub. | |
with: | |
# we let the report trigger content trigger a failure using the GitHub Security features. | |
args: '-exclude=G104,G307 -no-fail -fmt sarif -out results.sarif ./...' | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
# Path to SARIF file relative to the root of the repository | |
sarif_file: results.sarif |