Merge branch 'master' into clean-up-public-deps

* master:
  Update actions
This commit is contained in:
Nikita Volkov 2024-04-28 15:44:33 +03:00
commit 4e027af0ad
4 changed files with 15 additions and 3 deletions

9
.github/workflows/format.yaml vendored Normal file
View 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

View File

@ -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

View File

@ -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:

View File

@ -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: