Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Add hex audit workflow (#6836)
Cenk Kücük1fd842bbf9f0
diff --git a/.github/workflows/all-checks-pass.yml b/.github/workflows/all-checks-pass.ymlindex 1a0b41ec02..daf5d3c03f 100644--- a/.github/workflows/all-checks-pass.yml+++ b/.github/workflows/all-checks-pass.yml@@ -14,5 +14,5 @@ jobs:uses: poseidon/wait-for-status-checks@e7e24423722c5b8e97a6dd5848827d2a412f812d # v0.7.0with:token: ${{ secrets.GITHUB_TOKEN }}- ignore: merge-sharded-e2e-test-report,copilot+ ignore: merge-sharded-e2e-test-report,copilot,Hex audit,mix hex.auditinterval: 6diff --git a/.github/workflows/hex-audit.yml b/.github/workflows/hex-audit.ymlnew file mode 100644index 0000000000..47f075e08b--- /dev/null+++ b/.github/workflows/hex-audit.yml@@ -0,0 +1,44 @@+name: Hex audit++on:+ pull_request:+ push:+ branches: [master]+ schedule:+ # advisories get published without any change on our side+ - cron: "17 6 * * *"++permissions:+ contents: read++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true++jobs:+ audit:+ name: Hex audit+ runs-on: ubuntu-latest+ permissions:+ contents: read+ security-events: write # upload the SARIF report to code scanning+ steps:+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ with:+ persist-credentials: false++ - uses: marocchino/tool-versions-action@4219f2e6bfdb4cce482b78f71ad9663e64f4d247 # v2.0.0+ id: versions+ - uses: erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1+ with:+ elixir-version: ${{ steps.versions.outputs.elixir }}+ otp-version: ${{ steps.versions.outputs.erlang }}++ - run: mix deps.get+ # findings are reported through code scanning, not the job status+ - run: mix hex.audit --format sarif --output hex-audit.sarif+ continue-on-error: true+ - uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0+ with:+ sarif_file: hex-audit.sarif+ category: hex-audit