Skip to content

Commit 86ba14b

Browse files
committed
include labeling in release
1 parent ef109d1 commit 86ba14b

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/release-please.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,7 @@ jobs:
5555
release-type: node
5656
package-name: ${{ matrix.package }}
5757
monorepo-tags: true
58-
tag:
59-
runs-on: ubuntu-latest
60-
needs: release
61-
steps:
62-
- id: tagging
58+
- id: label
6359
uses: actions/github-script@v3
6460
with:
6561
github-token: ${{secrets.GITHUB_TOKEN}}
@@ -68,9 +64,9 @@ jobs:
6864
const latestRelease = await github.issues.addLabels({
6965
owner,
7066
repo,
71-
issue_number: ${{needs.release.outputs.prNumber}},
67+
issue_number: ${{steps.release-please.outputs.pr}},
7268
labels: ['autorelease: pending']
7369
});
74-
console.log(`Tagged ${{needs.release.outputs.prNumber}}`)
75-
if: ${{needs.release.outputs.prNumber}})
70+
console.log(`Tagged ${{steps.release-please.outputs.pr}}`)
71+
if: ${{steps.release-please.outputs.pr}})
7672

0 commit comments

Comments
 (0)