From 19dc297babb86d823993e27ce5bc67c6f9ed6ac9 Mon Sep 17 00:00:00 2001 From: Yixue Wang Date: Fri, 27 Oct 2023 14:13:01 +0800 Subject: [PATCH] chore: add synchronization workflow Add synchronization workflow to synchronize to dtk6. Log: add synchronization workflow --- .../workflows/call-synchronize-to-dtk6.yml | 19 +++++++++++++++++++ .reuse/dep5 | 2 +- .syncexclude | 11 +++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/call-synchronize-to-dtk6.yml create mode 100644 .syncexclude diff --git a/.github/workflows/call-synchronize-to-dtk6.yml b/.github/workflows/call-synchronize-to-dtk6.yml new file mode 100644 index 00000000..311e4675 --- /dev/null +++ b/.github/workflows/call-synchronize-to-dtk6.yml @@ -0,0 +1,19 @@ +name: Call synchronize to dtk6 +on: + pull_request_target: + paths-ignore: + - "debian/**" + - "archlinux/**" + - "rpm/**" + - ".obs/**" + - ".github/**" + +jobs: + call-synchronize: + uses: linuxdeepin/dtk/.github/workflows/synchronize-to-dtk6.yml@master + secrets: inherit + with: + dest_repo: linuxdeepin/qt6integration + source_repo: ${{ github.event.pull_request.head.repo.full_name }} + source_ref: ${{ github.event.pull_request.head.ref }} + pull_number: ${{ github.event.pull_request.number }} diff --git a/.reuse/dep5 b/.reuse/dep5 index 05bffec1..df9b6811 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -36,7 +36,7 @@ Copyright: None License: CC0-1.0 # ignore git -Files: .git* +Files: .git* .syncexclude Copyright: None License: CC0-1.0 diff --git a/.syncexclude b/.syncexclude new file mode 100644 index 00000000..7b42c60d --- /dev/null +++ b/.syncexclude @@ -0,0 +1,11 @@ +# Paths that will be exclude from synchronize workflow +# Please use relative path which use project directory as root +# Notice that +# * .git +# * debian +# * archlinux +# * .obs +# * .github +# are always ignored +linglong.yaml +conanfile.py