We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 578cb1a commit 8c94ad0Copy full SHA for 8c94ad0
.github/workflows/ci.yml
@@ -23,7 +23,7 @@ jobs:
23
run: docker run --rm ecos-java-scala:latest sbt -Dsbt.log.noformat=true +test
24
25
- name: Publish to Github Repositories
26
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
+ if: github.event_name == 'push' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
27
env:
28
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
GITHUB_ACTOR: ${{ github.actor }}
0 commit comments