File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 5151echo " - Checking requirements"
5252# Check gh is installed
5353gh --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
5557jq --version 1> /dev/null 2>&1 || { echo " ❌ jq is not installed. Please install jq." ; exit 1; }
5658# Check there are no local changes
You can’t perform that action at this time.
0 commit comments