Skip to content

Commit

Permalink
CI: Port appropriate workflows to call check-format
Browse files Browse the repository at this point in the history
  • Loading branch information
RytoEX authored and Ryan Foster committed Oct 11, 2024
1 parent b0464bf commit 20cb32a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pr-pull.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Pull
run-name: ${{ github.event.pull_request.title }} pull request run πŸš€
on:
workflow_dispatch:
pull_request:
paths-ignore:
- '**.md'
branches: [master]
types: [ opened, synchronize, reopened ]
permissions:
contents: read
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
check-format:
name: Format πŸ”
uses: ./.github/workflows/check-format.yaml
permissions:
contents: read
20 changes: 20 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Push
run-name: ${{ github.ref_name }} push run πŸš€
on:
push:
paths-ignore:
- '**.md'
branches:
- master
- 'release/**'
tags:
- '*'
permissions:
contents: write
jobs:
check-format:
name: Format πŸ”
if: github.ref_name == 'master'
uses: ./.github/workflows/check-format.yaml
permissions:
contents: read

0 comments on commit 20cb32a

Please sign in to comment.