Skip to content

Commit bdd6cb6

Browse files
committed
use vars in if conditions:
1 parent 54c2fc8 commit bdd6cb6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/pre_release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
commit-message: Prepare release
5050
signoff: false
51-
branch: ${{ secrets.RELEASE_BRANCH_NAME }}
51+
branch: ${{ var.RELEASE_BRANCH_NAME }}
5252
delete-branch: true
5353
title: "Release ${{ steps.prepare.outputs.version }}"
5454
draft: false

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
publish-core:
16-
if: github.repository == 'run-llama/llama_index' && github.event.pull_request.merged == true && github.event.pull_request.head.ref == secrets.RELEASE_BRANCH_NAME
16+
if: github.repository == 'run-llama/llama_index' && github.event.pull_request.merged == true && github.event.pull_request.head.ref == var.RELEASE_BRANCH_NAME
1717
runs-on: ubuntu-latest
1818
outputs:
1919
version: ${{ steps.build-publish-core.outputs.version }}

0 commit comments

Comments
 (0)