Skip to content

POS-2755: implement anti-spam mechanism for proposals in gov #168

POS-2755: implement anti-spam mechanism for proposals in gov

POS-2755: implement anti-spam mechanism for proposals in gov #168

Workflow file for this run

# TODO HV2: remove GIT_TERMINAL_PROMPT, GOPRIVATE and GH_PAT_TOKEN vars once heimdall-v2 is a public repo
name: Govuln
on: [ push, pull_request ]
jobs:
govuln:
name: Run govuln check and Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Running govulncheck
uses: Templum/govulncheck-action@v1.0.1
continue-on-error: true
env:
DEBUG: "true"
GIT_TERMINAL_PROMPT: 1
GOPRIVATE: github.com/0xPolygon/heimdall-v2
GH_PAT_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
with:
go-version: 1.23.2
package: ./...
github-token: ${{ secrets.GITHUB_TOKEN }}
fail-on-vuln: true
- name: Upload govulncheck report
uses: actions/upload-artifact@v3
with:
name: raw-report
path: raw-report.json