Skip to content

Commit

Permalink
chore: fix syntax issues in hotfix branch workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs authored Mar 15, 2023
1 parent d697f19 commit e68a771
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/create-hotfix-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
echo "branches_list=$branches_list" >> $GITHUB_OUTPUT
- name: Checkout
if: steps.stale-release-branches.outputs.branches_list == ""
if: steps.stale-release-branches.outputs.branches_list == ''
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Node
if: steps.stale-release-branches.outputs.branches_list == ""
if: steps.stale-release-branches.outputs.branches_list == ''
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand All @@ -35,13 +35,13 @@ jobs:
# In order to make a commit, we need to initialize a user.
# You may choose to write something less generic here if you want, it doesn't matter functionality wise.
- name: Initialize Mandatory Git Config
if: steps.stale-release-branches.outputs.branches_list == ""
if: steps.stale-release-branches.outputs.branches_list == ''
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
- name: Generate Hotfix Branch Name
if: steps.stale-release-branches.outputs.branches_list == ""
if: steps.stale-release-branches.outputs.branches_list == ''
id: generate-hotfix-branch-name
env:
HUSKY: 0
Expand All @@ -53,7 +53,7 @@ jobs:
echo "branch_name=$branch_name" >> $GITHUB_OUTPUT
- name: Create Hotfix Branch
if: steps.stale-release-branches.outputs.branches_list == ""
if: steps.stale-release-branches.outputs.branches_list == ''
uses: peterjgrainger/action-create-branch@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e68a771

Please sign in to comment.