alternate workflow for "dotnet-format" to accommodate documentation-only PRs (#3133)
This commit is contained in:
parent
bab31807ed
commit
d3c0c6ed61
|
|
@ -0,0 +1,21 @@
|
|||
# Syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
|
||||
# See also: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
|
||||
|
||||
# Description: This workflow exists to unblock documentation-only PRs.
|
||||
|
||||
# IMPORTANT: This workflow MUST use the same 'name' and 'matrix' as the non -md workflow.
|
||||
|
||||
name: dotnet format
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- '**.md'
|
||||
|
||||
jobs:
|
||||
check-format:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- run: 'echo "No build required"'
|
||||
Loading…
Reference in New Issue