From a2c383691b90d72c45ab72b9532f9f1ca78fe3f8 Mon Sep 17 00:00:00 2001 From: ivvist Date: Sun, 21 Apr 2024 17:12:52 +0200 Subject: [PATCH] test workflow --- .github/workflows/check.yml | 6 ++++++ .github/workflows/ci.yml | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a0006ba..19ba6d4 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -16,6 +16,12 @@ jobs: runs-on: ubuntu-latest steps: + - name: Cancel running workflows + env: + GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }} + repo: ${{ GITHUB.REPOSITORY }} + run: curl -s https://raw.githubusercontent.com/untillpro/ci-action/master/scripts/cancelworkflow.sh | bash + - name: Check PR true if: ${{ inputs.ignore_bp3 == 'true' }} run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40d801b..35dfcd8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,16 @@ jobs: with: ignore_bp3: 'true' commit_name: "${{ github.event.head_commit.message }} ${{ github.event.head_commit.id }}" + uses: untillpro/ci-action/.github/workflows/ci_reuse_go_pr.yml@master + with: + ignore_copyright: 'true' + ignore_bp3: 'true' + short_test: 'true' + running_workflow: 'Check PR and Merge PR' + secrets: + reporeading_token: ${{ secrets.REPOREADING_TOKEN }} + codecov_token: ${{ secrets.CODECOV_TOKEN }} + personal_token: ${{ secrets.PERSONAL_TOKEN }} call-workflow-vulncheck: needs: call-workflow-check uses: ivvorg/public-test-repo/.github/workflows/ci-extrachecks.yml@main