summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/tag-nightly.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/tag-nightly.yaml b/.github/workflows/tag-nightly.yaml
index 8193d68f2f..bb9e7094ec 100644
--- a/.github/workflows/tag-nightly.yaml
+++ b/.github/workflows/tag-nightly.yaml
@@ -16,6 +16,7 @@ jobs:
echo NIGHTLY_DATE=$(date --rfc-3339=date) >> ${GITHUB_ENV}
- name: Update Tag
uses: actions/github-script@v7.0.1
+ if: ${{ secrets.GITHUB_NIGHTLY_TOKEN != "" }}
with:
github-token: ${{ secrets.GITHUB_NIGHTLY_TOKEN }}
script: |