Update the actions

This commit is contained in:
Nikita Volkov 2024-04-28 15:50:51 +03:00
parent 6c6c71930f
commit dde6c3953f
2 changed files with 14 additions and 4 deletions

View File

@ -0,0 +1,14 @@
on:
pull_request:
branches:
- master
jobs:
format:
uses: ./.github/workflows/format.yaml
secrets: inherit
check:
uses: ./.github/workflows/check.yaml
secrets: inherit

View File

@ -1,8 +1,6 @@
on:
pull_request:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
branches:
- master
- supermajor
- major
- minor
@ -11,12 +9,10 @@ on:
jobs:
format:
if: ${{github.event.pull_request.changed_files > 0}}
uses: ./.github/workflows/format.yaml
secrets: inherit
check:
if: ${{github.event.pull_request.changed_files > 0}}
uses: ./.github/workflows/check.yaml
secrets: inherit