Skip to content

Commit

Permalink
chore: add github workflows
Browse files Browse the repository at this point in the history
add github workflows

Log:
  • Loading branch information
dengbo11 committed Jul 2, 2024
1 parent 73c1bee commit 080193e
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/backup-to-gitlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: backup to gitlab
on: [push]

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

jobs:
backup-to-gitlabwh:
uses: linuxdeepin/.github/.github/workflows/backup-to-gitlabwh.yml@master
secrets:
BRIDGETOKEN: ${{ secrets.BRIDGETOKEN }}

backup-to-gitee:
uses: linuxdeepin/.github/.github/workflows/backup-to-gitee.yml@master
secrets:
GITEE_SYNC_TOKEN: ${{ secrets.GITEE_SYNC_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/call-build-distribution.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Call build-distribution
on:
push:
paths-ignore:
- ".github/workflows/**"
pull_request_target:
paths-ignore:
- ".github/workflows/**"

jobs:
check_job:
uses: linuxdeepin/.github/.github/workflows/build-distribution.yml@master
secrets:
BUILD_GPG_PRIVATE_KEY: ${{ secrets.BUILD_GPG_PRIVATE_KEY }}
BUILD_SSH_PRIVATE_KEY: ${{ secrets.BUILD_SSH_PRIVATE_KEY }}
WEBDAV_PASSWD: ${{ secrets.WEBDAV_PASSWD }}
WEBDAV_USER: ${{ secrets.WEBDAV_USER }}
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: linuxdeepin/.github/.github/workflows/chatOps.yml@master
secrets: inherit
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

0 comments on commit 080193e

Please sign in to comment.