Skip to content
New issue

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

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

Already on GitHub? # to your account

Comment test 1 #1

Closed
wants to merge 1 commit into from
Closed

Comment test 1 #1

wants to merge 1 commit into from

Conversation

nwtgck
Copy link
Owner

@nwtgck nwtgck commented Mar 6, 2020

No description provided.

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 6, 2020

@github-actions run

console.log("hello, world");

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 6, 2020

@github-actions run

(async () => {
  await githubClient.issues.createComment({
    issue_number: context.issue.number,
    owner: context.repo.owner,
    repo: context.repo.repo,
    body: `Time from GitHub Actions: ${new Date()}`
  })
})();

1 similar comment
@nwtgck
Copy link
Owner Author

nwtgck commented Mar 6, 2020

@github-actions run

(async () => {
  await githubClient.issues.createComment({
    issue_number: context.issue.number,
    owner: context.repo.owner,
    repo: context.repo.repo,
    body: `Time from GitHub Actions: ${new Date()}`
  })
})();

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2020

Time from GitHub Actions: Fri Mar 06 2020 10:13:47 GMT+0000 (Coordinated Universal Time)

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 6, 2020

@github-actions run

Current time
(async () => {
  await githubClient.issues.createComment({
    issue_number: context.issue.number,
    owner: context.repo.owner,
    repo: context.repo.repo,
    body: `Time from GitHub Actions: ${new Date()}`
  })
})();

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2020

Time from GitHub Actions: Fri Mar 06 2020 10:15:42 GMT+0000 (Coordinated Universal Time)

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

console.log("hello, world");

1 similar comment
@pullreq-man
Copy link

@github-actions run

console.log("hello, world");

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

#! /bin/sh
echo "hello"

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

const child_process = require('child_process');
const proc = child_process.spawn('ls -l');
proc.on('exit', code => {
  console.log('code:', code);
})
proc.on('error', (err) => {
  console.log('err', err);
})
//console.log(proc.stdout);

@nwtgck nwtgck force-pushed the develop branch 6 times, most recently from 1a48afa to 4e12a45 Compare March 8, 2020 05:50
@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

#! /bin/sh
echo "hello, world"
#! /usr/bin/python
print("hello, world")
#! /usr/bin/ruby
puts "hello, world"
#! /bin/sh
docker run hello-world

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

#! /bin/sh
pip install numpy
#! /usr/bin/python
import numpy as np

print(np.array([1, 2, 3]))

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

#! /bin/sh
curl -fsSL https://deno.land/x/install/install.sh | sh
#! /home/runner/.local/bin/deno
import { dayOfYear } from "https://deno.land/std/datetime/mod.ts";

console.log("Welcome to Deno 🦕");
console.log(dayOfYear(new Date("2019-03-11T03:24:00")));

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

#! /usr/local/bin/stack runhaskell

main = putStrLn "hello, world"

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

#! /bin/sh
go get github.com/erning/gorun
#! /home/runner/go/bin/gorun

package main

import "fmt"

func main() {
	fmt.Println("hello, world")
}

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

#! /bin/sh
sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/lihaoyi/Ammonite/releases/download/2.0.4/2.13-2.0.4) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm'
#! /usr/local/bin/amm
import $ivy.`org.scalaz::scalaz-core:7.2.27`, scalaz._, Scalaz._

println((Option(1) |@| Option(2))(_ + _))

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

const body = `\
@github-actions run

\`\`\`sh
#! /bin/sh
echo hello
\`\`\`
`;

(async () => {
   await githubClient.issues.createComment({
          issue_number: context.issue.number,
          owner: context.repo.owner,
          repo: context.repo.repo,
          body,
        });
})();

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2020

@github-actions run

#! /bin/sh
echo hello

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 8, 2020

@github-actions run

#! /bin/sh
sudo npm i -g typescript ts-node
which ts-node
#! /usr/local/bin/ts-node

const str: string = "hello, world";
console.log(str);

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 9, 2020

@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/");
  console.log(picUrl);
  await githubClient.issues.createComment({
    issue_number: context.issue.number,
    owner: context.repo.owner,
    repo: context.repo.repo,
    body: `![LGTM](${picUrl.href})`,
  });
})();

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2020

LGTM

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2020

LGTM

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 9, 2020

@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/");
  console.log(picUrl);
  await githubClient.issues.createComment({
    issue_number: context.issue.number,
    owner: context.repo.owner,
    repo: context.repo.repo,
    body: `![LGTM](${picUrl.href})`,
  });
})();

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2020

LGTM

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 9, 2020

@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})`);
})();

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2020

LGTM

Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
Repository owner deleted a comment from github-actions bot Mar 9, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2020

LGTM

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 9, 2020

@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/");
  console.log(picUrl);
  await postComment(`![LGTM](${picUrl.href})`);
})();

Repository owner deleted a comment from github-actions bot Mar 9, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2020

LGTM

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 9, 2020

@github-actions run

postComment("hello, world");

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2020

hello, world

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 9, 2020

@github-actions run

#! /bin/sh
npm i -S lodash
const _ = require('lodash');
console.log(_.chunk(['a', 'b', 'c', 'd', 'e'], 2));
// => [ [ 'a', 'b' ], [ 'c', 'd' ], [ 'e' ] ]

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 9, 2020

@github-actions run

console.log('hello, world');

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 10, 2020

@github-actions run

(async () => {
  await githubClient.issues.createComment({
    issue_number: context.issue.number,
    owner: context.repo.owner,
    repo: context.repo.repo,
    body: `hello, world`
  })
})();

@github-actions
Copy link
Contributor

hello, world

@nwtgck
Copy link
Owner Author

nwtgck commented Mar 10, 2020

@github-actions run

(async () => {
  await githubClient.issues.createComment({
    issue_number: context.issue.number,
    owner: context.repo.owner,
    repo: context.repo.repo,
    body: `hello, world`
  })
})();

@github-actions
Copy link
Contributor

hello, world

@nwtgck nwtgck closed this Mar 22, 2020
@nwtgck nwtgck deleted the nwtgck-patch-1 branch March 22, 2020 23:54
@nwtgck
Copy link
Owner Author

nwtgck commented Oct 3, 2020

@github-actions run

#! /bin/sh
pip install numpy
#! /usr/bin/python
import numpy as np

print(np.array([1, 2, 3]))

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

Successfully merging this pull request may close these issues.

2 participants