Skip to content

Commit

Permalink
Merge pull request #83 from mmcesim/clang-format-ci-read-only-queue
Browse files Browse the repository at this point in the history
Fix Clang-Format CI Pushing to Read Only Queue (#82)
  • Loading branch information
Teddy-van-Jerry committed Sep 28, 2023
2 parents a382dba + aad3e48 commit cb4d077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
git config --local user.name "mmcesim-bot"
git commit -am"Apply Clang-Format" || echo "Clang-Format already satisfied."
- name: Push Changes
if: github.repository_owner == 'mmcesim'
if: github.repository_owner == 'mmcesim' && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/')
uses: ad-m/github-push-action@master
with:
branch: ${{ github.ref }}

0 comments on commit cb4d077

Please sign in to comment.