-
Notifications
You must be signed in to change notification settings - Fork 11
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
Comment test 1 #1
Conversation
@github-actions run console.log("hello, world"); |
@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
@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()}`
})
})(); |
Time from GitHub Actions: Fri Mar 06 2020 10:13:47 GMT+0000 (Coordinated Universal Time) |
@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()}`
})
})(); |
Time from GitHub Actions: Fri Mar 06 2020 10:15:42 GMT+0000 (Coordinated Universal Time) |
@github-actions run console.log("hello, world"); |
1 similar comment
@github-actions run console.log("hello, world"); |
@github-actions run #! /bin/sh
echo "hello" |
@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); |
1a48afa
to
4e12a45
Compare
@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 |
@github-actions run #! /bin/sh
pip install numpy #! /usr/bin/python
import numpy as np
print(np.array([1, 2, 3])) |
@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"))); |
@github-actions run #! /usr/local/bin/stack runhaskell
main = putStrLn "hello, world" |
@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")
} |
@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))(_ + _)) |
@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 run #! /bin/sh
echo hello |
@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); |
@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 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 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 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})`);
})(); |
@github-actions run postComment("hello, world"); |
hello, world |
@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' ] ] |
@github-actions run console.log('hello, world'); |
@github-actions run (async () => {
await githubClient.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `hello, world`
})
})(); |
hello, world |
@github-actions run (async () => {
await githubClient.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `hello, world`
})
})(); |
hello, world |
@github-actions run #! /bin/sh
pip install numpy #! /usr/bin/python
import numpy as np
print(np.array([1, 2, 3])) |
No description provided.