Skip to content

Commit 88440a1

Browse files
authored
ci: fix env syntax
Signed-off-by: Michael Beemer <[email protected]>
1 parent 380bc0b commit 88440a1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/update-sdk-docs.yaml

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
env:
12+
BRANCH_NAME: update-sdk-readmes
1113

1214
steps:
1315
- name: Checkout code
@@ -33,10 +35,6 @@ jobs:
3335
git config --global user.name "OpenFeature Bot"
3436
git config --global user.email "[email protected]"
3537
36-
- name: Set branch env variable
37-
shell: bash
38-
run: echo "BRANCH_NAME=update-sdk-readmes" >> $GITHUB_ENV
39-
4038
- name: Checkout branch
4139
shell: bash
4240
run: |
@@ -65,7 +63,7 @@ jobs:
6563
uses: ad-m/[email protected]
6664
with:
6765
github_token: ${{ secrets.PULL_REQUEST_AUTOMATION }}
68-
branch: ${{ vars.BRANCH_NAME }}
66+
branch: ${{ env.BRANCH_NAME }}
6967
force_with_lease: true
7068

7169
- name: Create pr if doesn't exist

0 commit comments

Comments
 (0)