mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-12-24 02:33:53 +03:00
Update actions
This commit is contained in:
parent
5b6dd9dfdc
commit
6c6c71930f
9
.github/workflows/format.yaml
vendored
Normal file
9
.github/workflows/format.yaml
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
name: Format
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
format:
|
||||
uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/format.yaml@v3
|
||||
secrets: inherit
|
@ -3,6 +3,7 @@ on:
|
||||
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
|
||||
branches:
|
||||
- master
|
||||
- supermajor
|
||||
- major
|
||||
- minor
|
||||
- patch
|
||||
@ -10,10 +11,12 @@ on:
|
||||
jobs:
|
||||
|
||||
format:
|
||||
uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/format.yaml@v3
|
||||
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
|
||||
|
2
.github/workflows/on-push-to-master.yaml
vendored
2
.github/workflows/on-push-to-master.yaml
vendored
@ -6,7 +6,7 @@ on:
|
||||
jobs:
|
||||
|
||||
format:
|
||||
uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/format.yaml@v3
|
||||
uses: ./.github/workflows/format.yaml
|
||||
secrets: inherit
|
||||
|
||||
check:
|
||||
|
2
.github/workflows/on-push-to-release.yaml
vendored
2
.github/workflows/on-push-to-release.yaml
vendored
@ -13,7 +13,7 @@ concurrency:
|
||||
jobs:
|
||||
|
||||
format:
|
||||
uses: nikita-volkov/haskell-hackage-lib-github-actions-workflows/.github/workflows/format.yaml@v3
|
||||
uses: ./.github/workflows/format.yaml
|
||||
secrets: inherit
|
||||
|
||||
check:
|
||||
|
Loading…
Reference in New Issue
Block a user