Skip to content

Commit 18c06e6

Browse files
author
Samuel Guillemet
committed
💚 Fix breaking changes in actions
1 parent 301018b commit 18c06e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pull-request-labels.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
github-token: ${{ secrets.GITHUB_TOKEN }}
2727
script: |
2828
const labels = ["release:patch", "release:minor", "release:major", "norelease"];
29-
const last_release = await github.repos.getLatestRelease({
29+
const last_release = await github.rest.repos.getLatestRelease({
3030
owner: context.repo.owner,
3131
repo: context.repo.repo,
3232
});

0 commit comments

Comments
 (0)