Skip to content

Commit

Permalink
ci: make ci.yml reusable, remove bors branchs
Browse files Browse the repository at this point in the history
  • Loading branch information
7sDream committed Nov 15, 2023
1 parent a51d05c commit 86fe8a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ on:
push:
branches:
- master
- staging
- trying
pull_request:
branches:
- master
workflow_dispatch:
workflow_call:

jobs:
style:
Expand Down Expand Up @@ -40,5 +39,6 @@ jobs:

build:
uses: ./.github/workflows/build.yml
needs: [style]
with:
name: fontfor
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:

daily:
uses: ./.github/workflows/daily.yml

build:
uses: ./.github/workflows/build.yml
with:
name: fontfor
ci:
needs: [daily]
uses: ./.github/workflows/ci.yml

release:
needs: [daily, build]
needs: [ci]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 86fe8a7

Please sign in to comment.