Skip to content

Commit 6b7dfc1

Browse files
committed
print labels
1 parent 1624651 commit 6b7dfc1

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

dist/index.js

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ async function run() {
1919
const octokit = github.getOctokit(token);
2020
const repo = github.context.repo;
2121

22-
await octokit.rest.issues.listLabelsForRepo({
22+
const allLabels = await octokit.rest.issues.listLabelsForRepo({
2323
owner: repo.owner,
2424
repo: repo.repo,
2525
});
2626

27+
console.log(allLabels);
28+
2729
/*
2830
for (const label in labelReplacement) {
2931
try {

0 commit comments

Comments
 (0)