Skip to content

Commit

Permalink
ci: deduplicate workflows runs
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroTroller committed Feb 26, 2024
1 parent 4301776 commit 55658ba
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/bc.yml → .github/workflows/bc.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on: [push, pull_request]
---
name: Roave

on: workflow_call

jobs:
roave_bc_check:
name: BC Check
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Pull-Request

on: pull_request

jobs:
bc:
uses: ./.github/workflows/bc.yaml
11 changes: 11 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Push

on:
push:
branches:
- master

jobs:
bc:
uses: ./.github/workflows/bc.yaml

0 comments on commit 55658ba

Please sign in to comment.