Skip to content

Commit 9ec17d9

Browse files
authored
Merge pull request #38 from kellenmurphy/fix/release-please-ci-trigger
fix(ci): trigger CI via label; bump dev deps
2 parents f9af873 + 7fc3a22 commit 9ec17d9

3 files changed

Lines changed: 256 additions & 257 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
GH_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }}
2929
run: |
3030
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"
31+
printf '{"labels":["trigger-ci"]}' | gh api --method POST "repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/labels" --input -
3332
gh pr review "$PR_NUMBER" --approve --body "Approved by release-please automation." --repo "$GITHUB_REPOSITORY"
3433
gh pr merge --auto --merge "$PR_NUMBER" --repo "$GITHUB_REPOSITORY"

0 commit comments

Comments
 (0)