We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9c78dd commit 7349738Copy full SHA for 7349738
.github/workflows/nightly-build.yml
@@ -8,6 +8,9 @@ on:
8
branches:
9
- zhaez/nightly-build
10
11
+env:
12
+ BRANCH_NAME: nightly-dependency-updates
13
+
14
jobs:
15
update-and-create-pr:
16
runs-on: ubuntu-latest
@@ -25,13 +28,11 @@ jobs:
25
28
26
29
- name: Check if nightly branch already exists
27
30
run: |
- BRANCH_NAME="nightly-dependency-updates"
31
if git ls-remote --exit-code --heads origin "$BRANCH_NAME"; then
32
echo "Branch $BRANCH_NAME already exists. Skipping run to avoid conflicts."
33
echo "Please merge or close the existing PR before the next nightly run."
34
exit 0
35
fi
- echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
36
37
- name: Configure git and create branch
38
0 commit comments