Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add github workflows #5

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/backup-to-gitlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: backup to gitlab
on: [push]

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
backup-to-gitlabwh:
uses: deepin-community/.github/.github/workflows/backup-to-gitlabwh.yml@release
secrets:
BRIDGETOKEN: ${{ secrets.BRIDGETOKEN }}
5 changes: 3 additions & 2 deletions .github/workflows/call-auto-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ concurrency:

jobs:
auto_tag:
uses: linuxdeepin/.github/.github/workflows/auto-tag.yml@master
secrets: inherit
uses: deepin-community/.github/.github/workflows/auto-tag.yml@master
secrets:
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
17 changes: 17 additions & 0 deletions .github/workflows/call-build-deb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Call build-deb
on:
pull_request_target:
paths-ignore:
- ".github/workflows/**"
types: [ opened, closed, synchronize ]

concurrency:
group: ${{ github.workflow }}-pull/${{ github.event.number }}
cancel-in-progress: true

jobs:
check_job:
if: github.event.action != 'closed' || github.event.pull_request.merged
uses: deepin-community/.github/.github/workflows/build-deb.yml@master
secrets:
BridgeToken: ${{ secrets.BridgeToken }}
14 changes: 14 additions & 0 deletions .github/workflows/call-build-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: tag build
on:
push:
tags: "*"

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
build:
uses: deepin-community/.github/.github/workflows/build-tag.yml@master
secrets:
BridgeToken: ${{ secrets.BridgeToken }}
9 changes: 9 additions & 0 deletions .github/workflows/call-chatOps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: chatOps
on:
issue_comment:
types: [created]

jobs:
chatopt:
uses: deepin-community/.github/.github/workflows/chatOps.yml@master
secrets: inherit
11 changes: 0 additions & 11 deletions .github/workflows/call-commitlint.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/call-license-check.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/cppcheck.yml

This file was deleted.

36 changes: 36 additions & 0 deletions debian/deepin/workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
test_build:
steps:
- link_package:
source_project: deepin:Develop:main
source_package: %{SCM_REPOSITORY_NAME}
target_project: deepin:CI

- configure_repositories:
project: deepin:CI
repositories:
- name: deepin_develop
paths:
- target_project: deepin:CI
target_repository: deepin_develop
architectures:
- x86_64
- aarch64

filters:
event: pull_request

tag_build:
steps:
- trigger_services:
project: deepin:Unstable:main
package: %{SCM_REPOSITORY_NAME}
filters:
event: tag_push

commit_build:
steps:
- trigger_services:
project: deepin:Develop:main
package: %{SCM_REPOSITORY_NAME}
filters:
event: push
Loading