Skip to content

Commit 0e5c145

Browse files
committed
chore: add github workflows
add github workflows Log:
1 parent 6b0d918 commit 0e5c145

9 files changed

+91
-55
lines changed
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: backup to gitlab
2+
on: [push]
3+
4+
concurrency:
5+
group: ${{ github.workflow }}
6+
cancel-in-progress: true
7+
8+
jobs:
9+
backup-to-gitlabwh:
10+
uses: deepin-community/.github/.github/workflows/backup-to-gitlabwh.yml@release
11+
secrets:
12+
BRIDGETOKEN: ${{ secrets.BRIDGETOKEN }}

.github/workflows/call-auto-tag.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ concurrency:
1212

1313
jobs:
1414
auto_tag:
15-
uses: linuxdeepin/.github/.github/workflows/auto-tag.yml@master
16-
secrets: inherit
15+
uses: deepin-community/.github/.github/workflows/auto-tag.yml@master
16+
secrets:
17+
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/call-build-deb.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Call build-deb
2+
on:
3+
pull_request_target:
4+
paths-ignore:
5+
- ".github/workflows/**"
6+
types: [ opened, closed, synchronize ]
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-pull/${{ github.event.number }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
check_job:
14+
if: github.event.action != 'closed' || github.event.pull_request.merged
15+
uses: deepin-community/.github/.github/workflows/build-deb.yml@master
16+
secrets:
17+
BridgeToken: ${{ secrets.BridgeToken }}

.github/workflows/call-build-tag.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: tag build
2+
on:
3+
push:
4+
tags: "*"
5+
6+
concurrency:
7+
group: ${{ github.workflow }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
build:
12+
uses: deepin-community/.github/.github/workflows/build-tag.yml@master
13+
secrets:
14+
BridgeToken: ${{ secrets.BridgeToken }}

.github/workflows/call-chatOps.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: chatOps
2+
on:
3+
issue_comment:
4+
types: [created]
5+
6+
jobs:
7+
chatopt:
8+
uses: deepin-community/.github/.github/workflows/chatOps.yml@master
9+
secrets: inherit

.github/workflows/call-commitlint.yml

-11
This file was deleted.

.github/workflows/call-license-check.yml

-16
This file was deleted.

.github/workflows/cppcheck.yml

-26
This file was deleted.

debian/deepin/workflows.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
test_build:
2+
steps:
3+
- link_package:
4+
source_project: deepin:Develop:main
5+
source_package: %{SCM_REPOSITORY_NAME}
6+
target_project: deepin:CI
7+
8+
- configure_repositories:
9+
project: deepin:CI
10+
repositories:
11+
- name: deepin_develop
12+
paths:
13+
- target_project: deepin:CI
14+
target_repository: deepin_develop
15+
architectures:
16+
- x86_64
17+
- aarch64
18+
19+
filters:
20+
event: pull_request
21+
22+
tag_build:
23+
steps:
24+
- trigger_services:
25+
project: deepin:Unstable:main
26+
package: %{SCM_REPOSITORY_NAME}
27+
filters:
28+
event: tag_push
29+
30+
commit_build:
31+
steps:
32+
- trigger_services:
33+
project: deepin:Develop:main
34+
package: %{SCM_REPOSITORY_NAME}
35+
filters:
36+
event: push

0 commit comments

Comments
 (0)