diff --git a/.github/workflows/reformat-yaml.yml b/.github/workflows/reformat-yaml.yml index 5e88e6e9..d30c71bc 100644 --- a/.github/workflows/reformat-yaml.yml +++ b/.github/workflows/reformat-yaml.yml @@ -20,10 +20,10 @@ jobs: standardise-yaml-files: if: |- - ${{github.event.pull_request.draft == false + github.event.pull_request.draft == false && ( !startsWith(github.head_ref, 'release/') && !startsWith(github.head_ref, 'hotfix/') ) - && github.actor != 'dependabot[bot]'}} + && github.actor != 'dependabot[bot]' runs-on: ubuntu-latest steps: