From 13c4162b5e4f200d98de227a796911f16bb03108 Mon Sep 17 00:00:00 2001 From: deepin-admin-bot Date: Wed, 19 Jun 2024 07:24:54 +0000 Subject: [PATCH] chore: Sync by https://github.com/linuxdeepin/.github/commit/3ab9683b84d50dbeca6b34dfa8e5f6a7951c2a76 sync by github workflow Log: none Influence: none --- .github/workflows/call-api-check.yml | 12 ++++++++++++ .github/workflows/call-static-check.yml | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/call-api-check.yml create mode 100644 .github/workflows/call-static-check.yml diff --git a/.github/workflows/call-api-check.yml b/.github/workflows/call-api-check.yml new file mode 100644 index 000000000..ab961725e --- /dev/null +++ b/.github/workflows/call-api-check.yml @@ -0,0 +1,12 @@ +name: apiCheck +on: + pull_request_target: + types: [opened, synchronize, reopened] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + api-check: + uses: linuxdeepin/.github/.github/workflows/api-check.yml@master \ No newline at end of file diff --git a/.github/workflows/call-static-check.yml b/.github/workflows/call-static-check.yml new file mode 100644 index 000000000..a3f9ef9b2 --- /dev/null +++ b/.github/workflows/call-static-check.yml @@ -0,0 +1,17 @@ +name: staticCheck +on: + pull_request_target: + types: [opened, synchronize, reopened] + +permissions: + contents: read + pull-requests: read + checks: write + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + static-check: + uses: linuxdeepin/.github/.github/workflows/static-check.yml@master