Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing actions-comment-run #7

Closed
wants to merge 1 commit into from
Closed

Conversation

kaihendry
Copy link
Owner

@kaihendry
Copy link
Owner Author

@github-actions run

(async () => {
  await postComment("hello, world");
})();

@github-actions
Copy link

@github-actions
Copy link

hello, world

@mirrorsuck
Copy link

@github-actions run

(async () => {
  await postComment("hello, world from another user not in the project");
})();

@mirrorsuck
Copy link

@github-actions run

LGTM 👍
(async () => {
  const res = await fetch("https://lgtm.in/g", {
    redirect: 'manual'
  });
  const webSiteUrl = res.headers.get('location');
  const picUrl = new URL(webSiteUrl);
  picUrl.pathname = picUrl.pathname.replace("/i/", "/p/");
  postComment(`![LGTM](${picUrl.href})`);
})();

@kaihendry
Copy link
Owner Author

@github-actions run

await postComment("hello, world");

@kaihendry
Copy link
Owner Author

@github-actions run

LGTM 👍
const res = await fetch("https://lgtm.in/g", {
  redirect: 'manual'
});
const webSiteUrl = res.headers.get('location');
const picUrl = new URL(webSiteUrl);
picUrl.pathname = picUrl.pathname.replace("/i/", "/p/");
postComment(`![LGTM](${picUrl.href})`);

@kaihendry
Copy link
Owner Author

@github-actions run

await postComment("hello, world");

@github-actions
Copy link

github-actions bot commented Apr 2, 2020

hello, world

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants