Compare commits
94 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ae91116974 | |||
| a064acd92f | |||
| 248e32e2dc | |||
| dbf18c0caa | |||
| cc99612739 | |||
| 519ecbc91a | |||
| 6853112f92 | |||
| b038593209 | |||
| 17b251323d | |||
| 3b83313b06 | |||
| 0fa14ed821 | |||
| 7f0ace66d4 | |||
| 14114217b7 | |||
| 1e36ec7676 | |||
| 0f1932feb9 | |||
| e51f63510f | |||
| 8438b632fe | |||
| e2b1fb1afa | |||
| 19921987e2 | |||
| a5a95c4bca | |||
| 2d0ff442ad | |||
| 866b1ed08a | |||
| e168969095 | |||
| 8aa4d84d75 | |||
| 38358f3e1c | |||
| fa0f7d8a09 | |||
| cd9873b50d | |||
| 729a515e86 | |||
| 60658d2ff9 | |||
| 72c6ee4788 | |||
| 7080ff369f | |||
| 63e2be37b1 | |||
| 2adf8b9bc9 | |||
| 9dfafaf56f | |||
| dde6a4296a | |||
| 5a856d6e0c | |||
| caee01d53c | |||
| b53ad49306 | |||
| 39f62d81b2 | |||
| 15a27535c3 | |||
| 26c280015d | |||
| 2d1fff81f5 | |||
| f63abc8fa3 | |||
| a190eb96a1 | |||
| 038b8c207c | |||
| 851a4f4afc | |||
| 059805cebd | |||
| f801ea37ff | |||
| 48662f5c93 | |||
| c6ba900c9f | |||
| 16e76380fd | |||
| 2bdf3cf655 | |||
| 4d43e28b3d | |||
| 368feadc01 | |||
| 177645e723 | |||
| 31cc5ebc86 | |||
| 4b7dc0d264 | |||
| 055c69b3f5 | |||
| 5ddd5a444b | |||
| d9a21a69f7 | |||
| 0bb75e34c6 | |||
| 000c61779f | |||
| b80012105d | |||
| 5c589d8aca | |||
| 3a2343b928 | |||
| 07ef0a0731 | |||
| 82227fde4d | |||
| 5eccc7da6a | |||
| b234afe7ad | |||
| ca4088ce3c | |||
| 091251d72a | |||
| 81475f2b41 | |||
| 78fb46fd57 | |||
| 8dd74aadcd | |||
| d16ebcda53 | |||
| 6e698b2706 | |||
| 9282e43e4a | |||
| 7b5dbc7e21 | |||
| 9c14d757c5 | |||
| e8edf31809 | |||
| 8f46901738 | |||
| a075c524ae | |||
| aa2d946c6d | |||
| 1da5c4fc79 | |||
| 6244eb512f | |||
| 255030d81f | |||
| 3ab37cdb5c | |||
| 737955dcfb | |||
| 2b8c1fb21e | |||
| ecf334e572 | |||
| 8847c70db3 | |||
| deed20fab3 | |||
| 2ca4c3be3f | |||
| 22dccb2fc8 |
@@ -1,13 +0,0 @@
|
||||
on:
|
||||
push:
|
||||
branches: ["**"]
|
||||
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: npm install --production
|
||||
- run: "./test.sh"
|
||||
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
FROM node:12
|
||||
|
||||
WORKDIR /opt/humans.txt
|
||||
|
||||
COPY . /opt/humans.txt
|
||||
|
||||
RUN npm i --production
|
||||
|
||||
ENV FORCE_COLOR=3
|
||||
|
||||
ENTRYPOINT ["bash", "/opt/humans.txt/run.sh"]
|
||||
@@ -1,15 +0,0 @@
|
||||
# GitHub Actions humans.txt
|
||||
|
||||
Lists out the humans who help feed and tend the robots of GitHub Actions.
|
||||
|
||||
## Inputs
|
||||
|
||||
### `format`
|
||||
|
||||
Options: `txt`, `json`, `shell`
|
||||
|
||||
- txt - a plaintext list of humans
|
||||
- json - a list of humans formatted for computers or humans who like their information computery
|
||||
- shell - a lovely colourful list of humans making full use of advanced terminal escape-code technology
|
||||
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
'use strict'
|
||||
|
||||
const fs = require('fs')
|
||||
const yaml = require('yaml')
|
||||
const chalk = require('chalk')
|
||||
|
||||
const formatters = {
|
||||
txt: txtFormatter,
|
||||
json: jsonFormatter,
|
||||
shell: (data) => txtFormatter(data, { colors: true}),
|
||||
}
|
||||
|
||||
main()
|
||||
|
||||
function main() {
|
||||
const format = process.argv[2] || ((process.env.GITHUB_ACTION || process.stdout.isTTY) ? "shell" : "txt")
|
||||
|
||||
const formatter = formatters[format]
|
||||
if (!formatter) {
|
||||
invalidFormat(format)
|
||||
return
|
||||
}
|
||||
|
||||
const data = yaml.parse(fs.readFileSync("./humans.txt.yaml", {encoding: "utf8"}))
|
||||
|
||||
formatter(data)
|
||||
}
|
||||
|
||||
function invalidFormat(format) {
|
||||
const list = Object.keys(formatters).sort().join(",")
|
||||
console.error(`'${format}' is not one of the accepted formats ${list}`)
|
||||
process.statusCode = 1
|
||||
return
|
||||
}
|
||||
|
||||
function jsonFormatter({humans}) {
|
||||
console.log(JSON.stringify(humans, null, 4))
|
||||
}
|
||||
|
||||
function txtFormatter({humans}, {colors = false} = {}) {
|
||||
let active = humans.filter(h => !h.alum).map(h => h.name)
|
||||
let alum = humans.filter(h => h.alum).map(h => h.name)
|
||||
|
||||
if(colors) {
|
||||
const total = active.length + alum.length
|
||||
active = mapColorRange(active, 0, total)
|
||||
alum = mapColorRange(alum, active.length, total)
|
||||
}
|
||||
|
||||
console.log("Current humans")
|
||||
console.log("==============\n")
|
||||
console.log(active.join("\n"))
|
||||
console.log("\n")
|
||||
|
||||
console.log("Human alumni")
|
||||
console.log("============\n")
|
||||
console.log(alum.join("\n"))
|
||||
}
|
||||
|
||||
function mapColorRange(strings, base, total) {
|
||||
return strings.map((n, i) => chalk.hsl(((i + base) / total) * 360, 100, 50)(n))
|
||||
}
|
||||
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
name: 'GitHub Actions humans.txt'
|
||||
description: 'List out the humans who help feed and tend the robots of GitHub Actions'
|
||||
inputs:
|
||||
format:
|
||||
description: 'How to output the people of actions - txt, json or ascii'
|
||||
default: 'ascii'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
args:
|
||||
- ${{ inputs.format }}
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
@@ -1,4 +0,0 @@
|
||||
humans:
|
||||
- name: Mona Lisa Octocat
|
||||
honorary_human: true
|
||||
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
<!doctype html>
|
||||
<meta charset='utf8' />
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
<title>Actions - humans.txt</title>
|
||||
<body><pre>Current humans
|
||||
==============
|
||||
|
||||
Adrian Mato Gondelle
|
||||
Allan Guigou
|
||||
Amarilis Dias
|
||||
Antoine Grondin
|
||||
Aris Acoba
|
||||
Bassem Dghaidi
|
||||
Belinda Vennam
|
||||
Beth Brennan
|
||||
Bethany Janos
|
||||
Brian Cristante
|
||||
Brittany Ellich
|
||||
Bryan MacFarlane
|
||||
Cameron Booth
|
||||
Cedric Wille
|
||||
Chad Kimes
|
||||
Christina Guo
|
||||
Christopher Schleiden
|
||||
Crystal Tenn
|
||||
Dan Rigby
|
||||
Dylan Smith
|
||||
Erez Testiler
|
||||
Eric Sciple
|
||||
Felipe Suero
|
||||
Francesco Renzi
|
||||
Isaac Shalom
|
||||
Jacob Wallraff
|
||||
Javier Perez
|
||||
Jeff Martin
|
||||
Joanna Krzek-Lubowiecka
|
||||
Johanan Idicula
|
||||
John Mills
|
||||
Jonathan Clem
|
||||
Jonathan Tamsut
|
||||
Josh Gross
|
||||
Julian Dunn
|
||||
Julio Barba
|
||||
Kamil Grzebien
|
||||
Konrad Pabjan
|
||||
Maggie Spletzer
|
||||
Mona Lisa Octocat
|
||||
PJ Quirk
|
||||
Peter Tasker
|
||||
Philip Gai
|
||||
Rob Herley
|
||||
Ross Brodbeck
|
||||
Ryan Troost
|
||||
Seth Rylan Gainey
|
||||
Soe Tun
|
||||
Sven Pfleiderer
|
||||
Thomas Brumley
|
||||
Yang Cao
|
||||
Yaswanth Anantharaju
|
||||
|
||||
Human alumni
|
||||
============
|
||||
|
||||
Ajay Krishna Nalisetty
|
||||
Alberto Gimeno
|
||||
Andrew Appleton
|
||||
Angela Rivera
|
||||
Anna Rosenthal
|
||||
Anthony Sterling
|
||||
Catherine Osadciw
|
||||
Florian Wagner
|
||||
Guðmundur Bjarni Ólafsson
|
||||
Hayden Faulds
|
||||
Iheanyi Ekechukwu
|
||||
Jason Long
|
||||
Jean-Philippe André
|
||||
Jeroen Rietveld
|
||||
Joris Abalea
|
||||
Matt Burke
|
||||
Melissa Xie
|
||||
Mike Coutermarsh
|
||||
Nicholas Bergesen
|
||||
Parker Moore
|
||||
Patrick Marsceill
|
||||
Pete Wagner
|
||||
Phani Raj
|
||||
Tim Ruffles
|
||||
Yena Kim
|
||||
Yujin Shin</pre></body>
|
||||
Generated
-76
@@ -1,76 +0,0 @@
|
||||
{
|
||||
"requires": true,
|
||||
"lockfileVersion": 1,
|
||||
"dependencies": {
|
||||
"@babel/runtime": {
|
||||
"version": "7.7.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.7.tgz",
|
||||
"integrity": "sha512-uCnC2JEVAu8AKB5do1WRIsvrdJ0flYx/A/9f/6chdacnEZ7LmavjdsDXr5ksYBegxtuTPR5Va9/+13QF/kFkCA==",
|
||||
"requires": {
|
||||
"regenerator-runtime": "^0.13.2"
|
||||
}
|
||||
},
|
||||
"@types/color-name": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
|
||||
"integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ=="
|
||||
},
|
||||
"ansi-styles": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.0.tgz",
|
||||
"integrity": "sha512-7kFQgnEaMdRtwf6uSfUnVr9gSGC7faurn+J/Mv90/W+iTtN0405/nLdopfMWwchyxhbGYl6TC4Sccn9TUkGAgg==",
|
||||
"requires": {
|
||||
"@types/color-name": "^1.1.1",
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
|
||||
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"requires": {
|
||||
"color-name": "~1.1.4"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
|
||||
},
|
||||
"regenerator-runtime": {
|
||||
"version": "0.13.3",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz",
|
||||
"integrity": "sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw=="
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
|
||||
"integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"yaml": {
|
||||
"version": "1.7.2",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-1.7.2.tgz",
|
||||
"integrity": "sha512-qXROVp90sb83XtAoqE8bP9RwAkTTZbugRUTm5YeFCBfNRPEp2YzTeqWiz7m5OORHzEvrA/qcGS8hp/E+MMROYw==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.6.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"chalk": "3.0.0",
|
||||
"yaml": "1.7.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user