Skip to content

Commit

Permalink
ci: Build nightly only on current branch
Browse files Browse the repository at this point in the history
* We will use this branch for Grafana teams to make review

Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Jan 22, 2024
1 parent 43cd9f5 commit 75dbd72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ jobs:
- name: Release nightly
uses: softprops/action-gh-release@v1
# Run this only when there is a PR merged or on main branch
if: github.event.pull_request.merged || github.ref == 'refs/heads/main'
# if: github.event.pull_request.merged || github.ref == 'refs/heads/main'
# Run this only on grafana_labs_review branch for Grafana team to review plugin
if: github.ref == 'refs/heads/grafana_labs_review'
with:
prerelease: true
name: nightly
Expand Down

0 comments on commit 75dbd72

Please sign in to comment.