Skip to content

Commit

Permalink
Update create-issue-branch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dconnolly-sfdc authored Aug 15, 2024
1 parent cde07d0 commit c0cfb44
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/create-issue-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
run: |
echo ${{ steps.Create_Issue_Branch.outputs.branchName }}
git checkout -b ${{ steps.Create_Issue_Branch.outputs.branchName }}
python scripts/drop_rules_create.py --application_name test_app >> $GITHUB_OUTPUT
# echo "This is a new file" > new-file.txt
python scripts/drop_rules_create.py --application_name test_app
echo "file_created=true" >> $GITHUB_ENV
# echo "This is a new file" > new-file.txt
# ls -la
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -39,6 +40,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Push new branch
if: env.file_created == 'true'
run: |
git push origin ${{ steps.Create_Issue_Branch.outputs.branchName }}
git push origin ${{ steps.Create_Issue_Branch.outputs.branchName }}

0 comments on commit c0cfb44

Please sign in to comment.