Skip to content

Commit

Permalink
Run release and sync_docs jobs on master branch only (#4027)
Browse files Browse the repository at this point in the history
* Run release and sync-docs jobs on master branch only
  • Loading branch information
clouvet authored Oct 23, 2024
1 parent 927697c commit 7b8546a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:

jobs:
release:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: Checkout master branch
Expand All @@ -26,7 +27,7 @@ jobs:
DEFAULT_BUMP: "patch"

sync_docs:
if: false
if: github.ref == 'refs/heads/master'
needs: release
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 7b8546a

Please sign in to comment.