Skip to content

Commit 2869269

Browse files
committed
fix yaml indentation
1 parent 133fc34 commit 2869269

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/release-please.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
prNumber: ${{ steps.release-please.outputs.pr }}
4747
steps:
4848
- uses: GoogleCloudPlatform/[email protected]
49-
- id: release-please
49+
id: release-please
5050
with:
5151
path: src/apis/${{ matrix.package }}
5252
token: ${{ secrets.CREATE_A_FORK }}
@@ -55,3 +55,21 @@ 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
63+
uses: actions/github-script@v3
64+
with:
65+
github-token: ${{secrets.GITHUB_TOKEN}}
66+
script: |
67+
const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
68+
const latestRelease = await github.issues.addLabels({
69+
owner,
70+
repo,
71+
issue_number: ${{needs.release.outputs.prNumber}}
72+
labels: 'autorelease: pending'
73+
});
74+
console.log(`Tagged ${{needs.release.outputs.prNumber}}`)
75+
if: ${{needs.release.outputs.prNumber}})

0 commit comments

Comments
 (0)