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 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