Skip to content

Commit

Permalink
ci: disable nightly build in forked repos
Browse files Browse the repository at this point in the history
The forked repos nightly build will waste a myriad of CPU resources.
  • Loading branch information
Bambooin authored and lotem committed Mar 11, 2024
1 parent 7470f38 commit a011019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
merge-multiple: true

- name: Create Nightly release
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.repository == 'rime/librime' && github.ref == 'refs/heads/master' }}
uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit a011019

Please sign in to comment.