From f3a4274cbdcc2b9efd229ea559f8aec63da45f1d Mon Sep 17 00:00:00 2001 From: Peter Shen Date: Thu, 22 Feb 2024 11:14:23 +0800 Subject: [PATCH 1/2] Update snyk-container.yml --- .github/workflows/snyk-container.yml | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/.github/workflows/snyk-container.yml b/.github/workflows/snyk-container.yml index 933e915..ad54c10 100644 --- a/.github/workflows/snyk-container.yml +++ b/.github/workflows/snyk-container.yml @@ -20,22 +20,5 @@ on: jobs: snyk: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Run Snyk to check Docker image for vulnerabilities - continue-on-error: true - uses: snyk/actions/docker@master - env: - # In order to use the Snyk Action you will need to have a Snyk API token. - # More details in https://github.com/snyk/actions#getting-your-snyk-token - # or you can signup for free at https://snyk.io/login - SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} - with: - image: xianpengshen/clang-tools:all - args: --severity-threshold=high --file=Dockerfile.all - - - name: Upload result to GitHub Code Scanning - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: snyk.sarif + uses: cpp-linter/.github/.github/workflows/snyk-container.yml@main + secrets: inherit From 40751d493671a5145b65222084581d003f2e81c0 Mon Sep 17 00:00:00 2001 From: Peter Shen Date: Thu, 22 Feb 2024 11:17:23 +0800 Subject: [PATCH 2/2] Update release-drafter.yml --- .github/workflows/release-drafter.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 4987214..8e9d17e 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -7,10 +7,5 @@ on: workflow_dispatch: jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - # Draft your next Release notes as Pull Requests are merged into the default branch - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + draft-release: + uses: cpp-linter/.github/.github/workflows/release-drafter.yml@main