We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f9af873 + 7fc3a22 commit 9ec17d9Copy full SHA for 9ec17d9
3 files changed
.github/workflows/release-please.yml
@@ -28,7 +28,6 @@ jobs:
28
GH_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }}
29
run: |
30
PR_NUMBER=$(echo '${{ steps.release.outputs.pr }}' | jq -r '.number')
31
- PR_BRANCH=$(echo '${{ steps.release.outputs.pr }}' | jq -r '.headBranchName')
32
- gh workflow run ci.yml --ref "$PR_BRANCH" --repo "$GITHUB_REPOSITORY"
+ printf '{"labels":["trigger-ci"]}' | gh api --method POST "repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/labels" --input -
33
gh pr review "$PR_NUMBER" --approve --body "Approved by release-please automation." --repo "$GITHUB_REPOSITORY"
34
gh pr merge --auto --merge "$PR_NUMBER" --repo "$GITHUB_REPOSITORY"
0 commit comments