Skip to content

Commit 5725f03

Browse files
Merge branch 'master' into alexeyk/fixed-git-command
2 parents a65d9bb + 9f0225c commit 5725f03

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/add-release-to-cloudfoundry.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ jobs:
5353
exit 0;
5454
fi
5555
56-
git commit -a -m "chore: Add version ${{ steps.get-release-version.outputs.VERSION }} to Cloud Foundry"
56+
git add --all
57+
git commit -m "chore: Add version ${{ steps.get-release-version.outputs.VERSION }} to Cloud Foundry"
5758
echo "commit=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
5859
- name: Push changes
5960
uses: DataDog/commit-headless@5a0f3876e0fbdd3a86b3e008acf4ec562db59eee # action/v2.0.1

tooling/mirror-community-pull-request.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ fi
5151
echo "- Checking requirements"
5252
# Check gh is installed
5353
gh --version 1>/dev/null 2>&1 || { echo "❌ gh is not installed. Please install GitHub CLI."; exit 1; }
54+
# Check that user is logged into gh cli
55+
gh auth status 1>/dev/null 2>&1 || { echo "❌ Not logged into Github CLI. Please login with \`gh auth login\`."; exit 1; }
5456
# Check jq is installed
5557
jq --version 1>/dev/null 2>&1 || { echo "❌ jq is not installed. Please install jq."; exit 1; }
5658
# Check there are no local changes

0 commit comments

Comments
 (0)