mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-11 07:09:05 +02:00
Co-authored-by: prombot <prometheus-team@googlegroups.com> Signed-off-by: prombot <prometheus-team@googlegroups.com> Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
27 lines
532 B
YAML
27 lines
532 B
YAML
---
|
|
name: govulncheck
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- VERSION
|
|
- .github/workflows/govulncheck.yml
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
schedule:
|
|
- cron: '33 2 * * *'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
govulncheck:
|
|
runs-on: ubuntu-latest
|
|
name: Run govulncheck
|
|
steps:
|
|
- id: govulncheck
|
|
uses: golang/govulncheck-action@3fa7bd9cee2cfdf3499a8803b226e43de7b7cdb4 # master
|
|
env:
|
|
GOOS: ${{ contains(github.repository, 'windows_exporter') && 'windows' || '' }}
|