Skip to content

Validate branch names #8

Validate branch names

Validate branch names #8

name: Validate branch names
on:
create
jobs:
validate-branch-name:
if: github.repository == 'MicrosoftDocs/SupportArticles-docs-pr' && startsWith(github.ref, 'refs/heads/')
runs-on: windows-latest
strategy:
fail-fast: true # Prevent retries on failure
steps:
- name: Set git to use long paths
run: git config --system core.longpaths true
- name: Try checkout
uses: actions/checkout@v3