Skip to content

Commit

Permalink
ci: use dev branch (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozline committed Aug 27, 2023
1 parent c02e620 commit 904adac
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: basic-test
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:
build-all:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
schedule:
- cron: '43 1 * * 0'

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

permissions:
contents: read
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: push-to-Aliyun

on:
workflow_run:
workflows: ["basic-test"]
types:
- completed
push:
branches:
- main
pull_request:
branches:
- main

jobs:
push-aliyun:
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true)
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit 904adac

Please sign in to comment.