113 Commits

Author SHA1 Message Date
GitHub Actions
c49c48572f Foo 2022-03-18 15:37:30 +00:00
Stephan
f7c5b3e956 wtf 2021-12-12 22:36:34 +01:00
Stephan
4dc95bf252 wtf 2021-12-12 22:31:46 +01:00
Stephan
dc7dd1e768 wtf 2021-12-12 22:28:58 +01:00
Stephan
8add493c77 wtf 2021-12-12 22:26:18 +01:00
Stephan
30bcef5c7f wtf 2021-12-12 22:23:58 +01:00
Stephan
f9a41a087c wtf 2021-12-12 20:18:20 +01:00
Stephan
35131167a6 wtf 2021-12-12 20:10:29 +01:00
Stephan
d215b853f8 wtf 2021-12-12 20:05:37 +01:00
Stephan
84a970f8a4 fix 2021-12-12 20:04:09 +01:00
Stephan
31cbe74bb2 fix 2021-12-12 20:03:48 +01:00
Stephan
108af45b25 fix 2021-12-12 19:57:31 +01:00
Stephan
100a1b61f4 fix 2021-12-12 19:51:17 +01:00
Stephan
d44e0c8512 fix 2021-12-12 19:48:34 +01:00
Stephan
8f36bf3ee6 fix 2021-12-12 19:46:03 +01:00
Stephan
890c988757 fix 2021-12-12 19:44:49 +01:00
Stephan
bedc122eda fix 2021-12-12 19:43:20 +01:00
Stephan
e87cd570d2 .12 2021-12-12 19:42:25 +01:00
Stephan
888cfb7f0c wtf 2021-12-12 18:59:37 +01:00
Stephan
febd814501 wtf 2021-12-10 20:14:59 +01:00
Stephan
91716319e5 wtf 2021-12-10 20:10:08 +01:00
Stephan
95a34adfba wtf 2021-12-10 19:52:22 +01:00
Stephan
0865ac62e2 wtf 2021-12-10 19:47:20 +01:00
Stephan
fa26cc9ba1 wtf 2021-12-10 19:45:07 +01:00
Stephan
06622d8529 wtf 2021-12-10 19:36:59 +01:00
Stephan
6e884a3321 wtf 2021-12-10 19:34:47 +01:00
Stephan
26f94b13a3 wtf 2021-12-10 19:32:14 +01:00
Stephan
543d33a363 wtf 2021-12-10 19:04:10 +01:00
Stephan
08c6b3a2e3 wtf 2021-12-10 18:38:01 +01:00
Stephan
fe62eb455c wtf 2021-12-10 18:36:27 +01:00
Stephan
139af4526d wtf 2021-12-10 18:31:32 +01:00
Stephan
fdc6d95388 wtf 2021-12-10 18:29:29 +01:00
Stephan
55e21143a9 wtf 2021-12-10 18:22:59 +01:00
Stephan
4e2e9638b6 wtf 2021-12-10 18:17:13 +01:00
Stephan
6a103e03a3 wtf 2021-12-10 18:13:01 +01:00
Stephan
a2e2213ce4 pii 2021-12-10 18:10:02 +01:00
Stephan
4bc423721a exp 2021-12-10 18:09:50 +01:00
Stephan
5ef1917f61 exp 2021-12-10 18:04:43 +01:00
Stephan
3b98325435 exp 2021-12-10 17:53:40 +01:00
Stephan
7688e0cbc7 exp 2021-12-10 17:48:01 +01:00
Stephan
5595250e09 exp 2021-12-10 17:42:04 +01:00
Stephan
4e8f7f271f exp 2021-12-10 17:39:59 +01:00
Stephan
f2db146379 exp 2021-12-10 17:35:15 +01:00
Stephan
11e6e12f60 exp 2021-12-10 17:32:45 +01:00
Stephan
56827f467a rename 2021-12-10 17:30:51 +01:00
Stephan
34a05d36a6 exp 2021-12-10 17:29:04 +01:00
Stephan
bb1ee93cb9 exp 2021-12-10 17:27:14 +01:00
Stephan
de64657f2c exp 2021-12-10 16:40:40 +01:00
Stephan
32e0aac7fa exp 2021-12-10 16:38:27 +01:00
Stephan
d62945518b exp 2021-12-10 16:35:57 +01:00
Stephan
a73381dafa exp 2021-12-10 16:33:36 +01:00
Stephan
3c564909d0 exp 2021-12-10 16:32:54 +01:00
Stephan
e65ddbcdfd manual action exp 2021-12-10 16:24:40 +01:00
Stephan
71f3728648 wkf exp 2021-12-09 08:53:14 +01:00
Stephan
54b0888107 wkf exp 2021-12-09 08:48:06 +01:00
Stephan
0a056599a3 wkf exp 2021-12-08 13:10:28 +01:00
Stephan
18c361ce7f github workflow experiment 2021-12-08 13:01:59 +01:00
Stephan
7240558fd8 duh 2021-12-03 11:13:42 +01:00
GitHub Actions
d76304d5ea Foo 2021-12-03 10:11:00 +00:00
Stephan
947625402d test-push 2021-12-03 11:10:44 +01:00
Stephan
6285473aa7 Update README.md 2021-10-24 17:32:09 +02:00
Stephan
0d7242e7fc A friendler README 2021-10-24 17:30:27 +02:00
Stephan
28dd92bcec Merge pull request #62 from danswiger/master
Minor change - hey, I am happy to merge your test PR, just so you can see what happens!
2021-10-24 17:21:20 +02:00
dswiger
e0fff7d62e Merge branch 'dnew' - fixed conflict manually in 'vim' 2021-10-23 12:21:34 -04:00
dswiger
5171313fd6 A non-conflicting change 2021-10-23 12:18:09 -04:00
dswiger
9d6af11683 Second commit for conflict 2021-10-23 12:17:19 -04:00
dswiger
b99b892baf First change for conflict. 2021-10-23 12:16:06 -04:00
dswiger
e3bf97c1ca adding file to branch 2021-10-23 12:09:47 -04:00
dswiger
5adc4e70a4 Minor change 2021-10-23 11:20:05 -04:00
Stephan
a01b7130b8 created symlink 2021-10-20 07:17:10 +00:00
Stephan
dbd20f76d5 again and again 2021-10-20 09:16:46 +02:00
Stephan
df0a3488d5 again 2021-10-20 09:11:33 +02:00
Stephan
5d1637699c bah 2021-10-20 09:05:22 +02:00
Stephan
767f48236c direct git link 2021-10-19 16:53:39 +02:00
Stephan
cd04389146 created symlink 2021-10-19 14:24:45 +00:00
Stephan
d48a659702 pwsh again 2021-10-19 16:24:20 +02:00
Stephan
462132dc28 created symlink 2021-10-19 14:19:17 +00:00
Stephan
e6cfcc57fe pwsh now 2021-10-19 16:17:22 +02:00
Stephan
9a7204dfca created symlink 2021-10-19 14:15:45 +00:00
Stephan
22751c3d2b pwsh 2021-10-19 16:15:13 +02:00
Stephan
a87c48b4ee created symlink 2021-10-19 14:04:42 +00:00
Stephan
64b17ac379 again 2021-10-19 16:04:11 +02:00
Stephan
5c3f366371 created symlink 2021-10-19 14:02:49 +00:00
Stephan
c4b36f3e20 again 2021-10-19 16:02:16 +02:00
Stephan
796c3370ca created symlink 2021-10-19 13:54:47 +00:00
Stephan
e9f7e6fd36 update action 2021-10-19 15:54:23 +02:00
Stephan
edcae1c219 update action 2021-10-19 15:48:52 +02:00
Stephan
bba2ce50bb duh 2021-10-19 15:44:05 +02:00
Stephan
e35659c99c test symlink 2021-10-19 15:39:43 +02:00
Stephan
598702c8b2 e 2021-10-15 16:42:01 +02:00
Stephan
37aa937b1a fix 2021-09-21 17:25:31 +02:00
Stephan
cb5b14d938 fix 2021-09-21 17:22:49 +02:00
Stephan
81ab599799 fix 2021-09-21 17:20:49 +02:00
Stephan
296f84334c fix 2021-09-21 17:19:16 +02:00
Stephan
2e06d2a137 fix 2021-09-21 17:16:24 +02:00
Stephan
6002ffe8a8 fix 2021-09-21 17:08:12 +02:00
Stephan
0fbb9e6f0c Add build-pr action 2021-09-21 17:06:05 +02:00
Stephan
56c06949e7 cleanup 2021-09-21 17:00:53 +02:00
Stephan
1860c82e9e Update README.md 2021-07-29 13:19:26 +02:00
Stephan
9b0a078c9b Update README.md 2021-07-29 13:18:54 +02:00
Stephan
e6b959e956 Update README.md 2021-07-29 13:17:52 +02:00
Stephan
c80ab79454 Update README.md 2021-07-29 13:17:19 +02:00
Stephan
b34bf96a85 Update README.md 2021-07-29 13:16:09 +02:00
Stephan
05d4d52171 fix 2021-06-14 17:28:34 +02:00
Stephan
60bce81522 embed 2021-06-14 17:24:55 +02:00
Stephan
3cde25d61e html 2021-06-11 20:08:14 +02:00
Stephan
360241ec01 ga-wip 2021-06-11 11:54:15 +02:00
Stephan
0028fb1904 ga-wip 2021-06-11 10:39:17 +02:00
Stephan
65e7224135 ga-wip 2021-06-10 18:32:18 +02:00
Stephan
06d7873435 ga-wip 2021-06-10 18:30:36 +02:00
Stephan
c4af365294 ga-wip 2021-06-10 18:17:48 +02:00
Stephan
f21b85ce87 ga-wip 2021-06-10 17:23:15 +02:00
Stephan
ddb5f03cb1 ga-wip 2021-06-10 17:21:24 +02:00
46 changed files with 7113 additions and 80 deletions

22
.github/actions/test-action/action.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: 'dotcover-report'
description: 'Reports dotCover output.'
inputs:
name:
description: "The name of the check run."
required: true
default: 'Test Coverage'
path:
description: "The path where the test coverage output has been produced."
required: true
default: ''
version:
description: "The client version."
required: false
default: '0.0.0-preview.0'
token:
description: GitHub Access Token
required: false
default: ${{ github.token }}
runs:
using: 'node12'
main: 'dist/index.js'

6326
.github/actions/test-action/dist/index.js vendored Normal file

File diff suppressed because one or more lines are too long

42
.github/actions/test-action/index.js vendored Normal file
View File

@@ -0,0 +1,42 @@
const core = require('@actions/core');
const github = require('@actions/github');
const fs = require('fs').promises;
async function run() {
try {
core.info('Begin');
// get inputs
const token = core.getInput('token', { required: true });
const name = core.getInput('name', { required: true });
const path = core.getInput('path', { required: true });
const version = core.getInput('version', { required: false });
// get the REST api
const octokit = github.getOctokit(token);
const rest = octokit.rest;
// get the context, the workflow, etc.
const context = github.context;
const workflow = context.workflow;
const repository = context.payload.repository;
core.info('Running!');
core.info('Completed.');
}
catch (error) {
core.setFailed(error.message);
}
}
const getSha = (context) => {
if (context.eventName === "pull_request") {
return context.payload.pull_request.head.sha || context.payload.after;
} else {
return context.sha;
}
};
run();

357
.github/actions/test-action/package-lock.json generated vendored Normal file
View File

@@ -0,0 +1,357 @@
{
"name": "test-action",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"@actions/core": "^1.4.0",
"@actions/github": "^5.0.0"
}
},
"node_modules/@actions/core": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz",
"integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg=="
},
"node_modules/@actions/github": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.0.tgz",
"integrity": "sha512-QvE9eAAfEsS+yOOk0cylLBIO/d6WyWIOvsxxzdrPFaud39G6BOkUwScXZn1iBzQzHyu9SBkkLSWlohDWdsasAQ==",
"dependencies": {
"@actions/http-client": "^1.0.11",
"@octokit/core": "^3.4.0",
"@octokit/plugin-paginate-rest": "^2.13.3",
"@octokit/plugin-rest-endpoint-methods": "^5.1.1"
}
},
"node_modules/@actions/http-client": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz",
"integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==",
"dependencies": {
"tunnel": "0.0.6"
}
},
"node_modules/@octokit/auth-token": {
"version": "2.4.5",
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.5.tgz",
"integrity": "sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA==",
"dependencies": {
"@octokit/types": "^6.0.3"
}
},
"node_modules/@octokit/core": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.5.1.tgz",
"integrity": "sha512-omncwpLVxMP+GLpLPgeGJBF6IWJFjXDS5flY5VbppePYX9XehevbDykRH9PdCdvqt9TS5AOTiDide7h0qrkHjw==",
"dependencies": {
"@octokit/auth-token": "^2.4.4",
"@octokit/graphql": "^4.5.8",
"@octokit/request": "^5.6.0",
"@octokit/request-error": "^2.0.5",
"@octokit/types": "^6.0.3",
"before-after-hook": "^2.2.0",
"universal-user-agent": "^6.0.0"
}
},
"node_modules/@octokit/endpoint": {
"version": "6.0.12",
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz",
"integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==",
"dependencies": {
"@octokit/types": "^6.0.3",
"is-plain-object": "^5.0.0",
"universal-user-agent": "^6.0.0"
}
},
"node_modules/@octokit/graphql": {
"version": "4.6.4",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.6.4.tgz",
"integrity": "sha512-SWTdXsVheRmlotWNjKzPOb6Js6tjSqA2a8z9+glDJng0Aqjzti8MEWOtuT8ZSu6wHnci7LZNuarE87+WJBG4vg==",
"dependencies": {
"@octokit/request": "^5.6.0",
"@octokit/types": "^6.0.3",
"universal-user-agent": "^6.0.0"
}
},
"node_modules/@octokit/openapi-types": {
"version": "7.3.2",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-7.3.2.tgz",
"integrity": "sha512-oJhK/yhl9Gt430OrZOzAl2wJqR0No9445vmZ9Ey8GjUZUpwuu/vmEFP0TDhDXdpGDoxD6/EIFHJEcY8nHXpDTA=="
},
"node_modules/@octokit/plugin-paginate-rest": {
"version": "2.13.5",
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.13.5.tgz",
"integrity": "sha512-3WSAKBLa1RaR/7GG+LQR/tAZ9fp9H9waE9aPXallidyci9oZsfgsLn5M836d3LuDC6Fcym+2idRTBpssHZePVg==",
"dependencies": {
"@octokit/types": "^6.13.0"
},
"peerDependencies": {
"@octokit/core": ">=2"
}
},
"node_modules/@octokit/plugin-rest-endpoint-methods": {
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.3.1.tgz",
"integrity": "sha512-3B2iguGmkh6bQQaVOtCsS0gixrz8Lg0v4JuXPqBcFqLKuJtxAUf3K88RxMEf/naDOI73spD+goJ/o7Ie7Cvdjg==",
"dependencies": {
"@octokit/types": "^6.16.2",
"deprecation": "^2.3.1"
},
"peerDependencies": {
"@octokit/core": ">=3"
}
},
"node_modules/@octokit/request": {
"version": "5.6.0",
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.0.tgz",
"integrity": "sha512-4cPp/N+NqmaGQwbh3vUsYqokQIzt7VjsgTYVXiwpUP2pxd5YiZB2XuTedbb0SPtv9XS7nzAKjAuQxmY8/aZkiA==",
"dependencies": {
"@octokit/endpoint": "^6.0.1",
"@octokit/request-error": "^2.1.0",
"@octokit/types": "^6.16.1",
"is-plain-object": "^5.0.0",
"node-fetch": "^2.6.1",
"universal-user-agent": "^6.0.0"
}
},
"node_modules/@octokit/request-error": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz",
"integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==",
"dependencies": {
"@octokit/types": "^6.0.3",
"deprecation": "^2.0.0",
"once": "^1.4.0"
}
},
"node_modules/@octokit/types": {
"version": "6.16.4",
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.4.tgz",
"integrity": "sha512-UxhWCdSzloULfUyamfOg4dJxV9B+XjgrIZscI0VCbp4eNrjmorGEw+4qdwcpTsu6DIrm9tQsFQS2pK5QkqQ04A==",
"dependencies": {
"@octokit/openapi-types": "^7.3.2"
}
},
"node_modules/before-after-hook": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz",
"integrity": "sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ=="
},
"node_modules/deprecation": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
"integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ=="
},
"node_modules/is-plain-object": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/node-fetch": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
"engines": {
"node": "4.x || >=6.0.0"
}
},
"node_modules/once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"dependencies": {
"wrappy": "1"
}
},
"node_modules/tunnel": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
"integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==",
"engines": {
"node": ">=0.6.11 <=0.7.0 || >=0.7.3"
}
},
"node_modules/universal-user-agent": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
"integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w=="
},
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
}
},
"dependencies": {
"@actions/core": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz",
"integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg=="
},
"@actions/github": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.0.tgz",
"integrity": "sha512-QvE9eAAfEsS+yOOk0cylLBIO/d6WyWIOvsxxzdrPFaud39G6BOkUwScXZn1iBzQzHyu9SBkkLSWlohDWdsasAQ==",
"requires": {
"@actions/http-client": "^1.0.11",
"@octokit/core": "^3.4.0",
"@octokit/plugin-paginate-rest": "^2.13.3",
"@octokit/plugin-rest-endpoint-methods": "^5.1.1"
}
},
"@actions/http-client": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz",
"integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==",
"requires": {
"tunnel": "0.0.6"
}
},
"@octokit/auth-token": {
"version": "2.4.5",
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.5.tgz",
"integrity": "sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA==",
"requires": {
"@octokit/types": "^6.0.3"
}
},
"@octokit/core": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.5.1.tgz",
"integrity": "sha512-omncwpLVxMP+GLpLPgeGJBF6IWJFjXDS5flY5VbppePYX9XehevbDykRH9PdCdvqt9TS5AOTiDide7h0qrkHjw==",
"requires": {
"@octokit/auth-token": "^2.4.4",
"@octokit/graphql": "^4.5.8",
"@octokit/request": "^5.6.0",
"@octokit/request-error": "^2.0.5",
"@octokit/types": "^6.0.3",
"before-after-hook": "^2.2.0",
"universal-user-agent": "^6.0.0"
}
},
"@octokit/endpoint": {
"version": "6.0.12",
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz",
"integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==",
"requires": {
"@octokit/types": "^6.0.3",
"is-plain-object": "^5.0.0",
"universal-user-agent": "^6.0.0"
}
},
"@octokit/graphql": {
"version": "4.6.4",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.6.4.tgz",
"integrity": "sha512-SWTdXsVheRmlotWNjKzPOb6Js6tjSqA2a8z9+glDJng0Aqjzti8MEWOtuT8ZSu6wHnci7LZNuarE87+WJBG4vg==",
"requires": {
"@octokit/request": "^5.6.0",
"@octokit/types": "^6.0.3",
"universal-user-agent": "^6.0.0"
}
},
"@octokit/openapi-types": {
"version": "7.3.2",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-7.3.2.tgz",
"integrity": "sha512-oJhK/yhl9Gt430OrZOzAl2wJqR0No9445vmZ9Ey8GjUZUpwuu/vmEFP0TDhDXdpGDoxD6/EIFHJEcY8nHXpDTA=="
},
"@octokit/plugin-paginate-rest": {
"version": "2.13.5",
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.13.5.tgz",
"integrity": "sha512-3WSAKBLa1RaR/7GG+LQR/tAZ9fp9H9waE9aPXallidyci9oZsfgsLn5M836d3LuDC6Fcym+2idRTBpssHZePVg==",
"requires": {
"@octokit/types": "^6.13.0"
}
},
"@octokit/plugin-rest-endpoint-methods": {
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.3.1.tgz",
"integrity": "sha512-3B2iguGmkh6bQQaVOtCsS0gixrz8Lg0v4JuXPqBcFqLKuJtxAUf3K88RxMEf/naDOI73spD+goJ/o7Ie7Cvdjg==",
"requires": {
"@octokit/types": "^6.16.2",
"deprecation": "^2.3.1"
}
},
"@octokit/request": {
"version": "5.6.0",
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.0.tgz",
"integrity": "sha512-4cPp/N+NqmaGQwbh3vUsYqokQIzt7VjsgTYVXiwpUP2pxd5YiZB2XuTedbb0SPtv9XS7nzAKjAuQxmY8/aZkiA==",
"requires": {
"@octokit/endpoint": "^6.0.1",
"@octokit/request-error": "^2.1.0",
"@octokit/types": "^6.16.1",
"is-plain-object": "^5.0.0",
"node-fetch": "^2.6.1",
"universal-user-agent": "^6.0.0"
}
},
"@octokit/request-error": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz",
"integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==",
"requires": {
"@octokit/types": "^6.0.3",
"deprecation": "^2.0.0",
"once": "^1.4.0"
}
},
"@octokit/types": {
"version": "6.16.4",
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.4.tgz",
"integrity": "sha512-UxhWCdSzloULfUyamfOg4dJxV9B+XjgrIZscI0VCbp4eNrjmorGEw+4qdwcpTsu6DIrm9tQsFQS2pK5QkqQ04A==",
"requires": {
"@octokit/openapi-types": "^7.3.2"
}
},
"before-after-hook": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz",
"integrity": "sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ=="
},
"deprecation": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
"integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ=="
},
"is-plain-object": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q=="
},
"node-fetch": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
},
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"requires": {
"wrappy": "1"
}
},
"tunnel": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
"integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg=="
},
"universal-user-agent": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
"integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w=="
},
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
}
}
}

View File

@@ -0,0 +1,17 @@
{
"name": "test-action",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"pack": "ncc build index.js -o dist"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@actions/core": "^1.4.0",
"@actions/github": "^5.0.0"
}
}

23
.github/workflows/build-pr.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
#
# Workflow: Build PR
#
name: Build PR
on: pull_request
jobs:
build-pr:
name: "Build PR #${{ github.event.pull_request.number }}: ${{ github.event.pull_request.title }}"
runs-on: ubuntu-latest
steps:
- name: Step 1
shell: bash
run: echo "step 1 of \#${{ github.event.pull_request.number }}"
- name: Step 2
shell: bash
run: echo "step 2 of \#${{ github.event.pull_request.number }}"

View File

@@ -12,7 +12,15 @@ jobs:
steps:
- name: Experiment
uses: zpqrtbnk/gh-actions/experiment@master
with:
mode: woot
- name: Script
uses: zpqrtbnk/gh-actions/jsaction@master
with:
githubToken: ${{ github.token }}
text: zoot
- name: Infos
shell: bash
run: |
@@ -24,44 +32,9 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Report
shell: bash
run: |
set +e
git log --graph --pretty=format':%h%%d %s %an, %ar' | head -n 5
echo "--"
REF="${{ github.ref }}"
BRANCH=${REF#refs/heads/}
if [ "$BRANCH" != "$REF" ]; then
VERSION=${BRANCH#release/}
if [ "$VERSION" != "$BRANCH" ]; then
echo "Triggered by commit in version $VERSION release branch $BRANCH"
git fetch origin wip-$VERSION:wip-$VERSION
if [ $? -ne 0 ]; then
echo "Tag v$VERSION does not exist"
else
TAGSHA=$(git rev-parse wip-$VERSION)
echo "FOUND TAG $TAGSHA"
if [ "$TAGSHA" != "${{ github.sha }}" ]; then
echo "TAG v$VERSION exists on another commit : error"
exit 1
else
echo "Tag v$VERSION exists on this commit: nothing to do here"
fi
fi
else
echo "Triggered by commit in non-release branch $BRANCH: error"
exit 1
fi
exit 0
fi
TAG=${REF#refs/tags/}"
if [ "$TAG" != "$REF" ]; then
echo "Triggered by tag $TAG"
exit 0
fi
echo "ERR"
exit 1
- name: Embedded
uses: ./.github/actions/test-action
with:
name: NAME
path: PATH
version: VERSION

40
.github/workflows/hz.js vendored Normal file
View File

@@ -0,0 +1,40 @@
// see https://github.com/actions/github-script
// , core, glob, io, exec, require
module.exports = function (github, context) {
var module = {}
// this is *not* exported
function noop ( ) { }
// this *is* exported
module.getReleaseByTag = async function (tag_name) {
var rel = null
try {
// this does *not* return draft releases, so we have to list them
//rel = await github.repos.getReleaseByTag({ ... })
const rels = await github.repos.listReleases({
owner: context.repo.owner,
repo: context.repo.repo
})
for (const r of rels.data) {
if (r.tag_name === tag_name) {
rel = r
break
}
}
}
catch (error) {
return null
}
return rel
}
module.getRefReleaseTag = function (ref) {
// test, must start with 'refs/heads/release/' 19 chars
return "v" + ref.substring(19)
}
return module;
}

101
.github/workflows/publish-release.yml vendored Normal file
View File

@@ -0,0 +1,101 @@
name: Publish
#meh
on:
workflow_dispatch:
inputs:
confirm:
description: "This is really going to release. Enter \'yolo\' to confirm that you really want to do it."
required: true
default: ""
jobs:
job:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/heads/release/')
steps:
- name: Confirm
uses: actions/github-script@v4
with:
script: |
if ("${{ github.event.inputs.confirm }}" != "yolo") {
core.setFailed(`Not confirmed (confirm = '${{ github.event.inputs.confirm }}').`)
}
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Validate the release
uses: actions/github-script@v4
with:
# token needed to see draft releases when getting all releases
github-token: ${{ secrets.MY_GITHUB_TOKEN_TESTREPO }}
script: |
const hz = require("./.github/workflows/hz.js")(github, context)
const ref = "${{ github.ref }}"
const tag = hz.getRefReleaseTag(ref)
if (tag === null) {
core.setFailed(`Invalid reference ${ref} is not release/<version>.`)
return
}
var rel = await hz.getReleaseByTag(tag)
if (rel === null) {
core.setFailed(`Could not find a release for tag ${tag}.`)
return
}
if (!rel.draft) {
core.setFailed(`Release for tag ${tag} is already published.`)
return
}
try {
const ref = await github.git.getRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'tags/' + tag
})
core.setFailed(`Tag ${tag} already exists.`)
return
}
catch (error) {
// this is expected
}
// everything is OK
- name: Configure repository
shell: bash
run: |
git config user.email "github-actions@hazelcast.com"
git config user.name "GitHub Actions (Build Release)"
- name: Finalize the release
run: |
ref="${{ github.ref }}"
branch="${ref:11}" # trim starting 'refs/heads/' (11 chars)
version="${ref:19}" # trim starting 'refs/heads/release/' (19 chars)
echo "Tag branch $branch as v$version"
git tag v$version
git push --tags
#git push :$branch
- name: Publish the release
uses: actions/github-script@v4
with:
script: |
const hz = require("./.github/workflows/hz.js")(github, context)
const ref = "${{ github.ref }}"
const tag = hz.getRefReleaseTag(ref)
if (tag === null) {
core.setFailed(`Invalid reference ${ref} is not release/<version>.`)
return
}
var rel = await hz.getReleaseByTag(tag)
await github.repos.updateRelease({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: rel.id,
draft: false
})

26
.github/workflows/rest-description.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Toy with issue description
on:
issues:
types: labeled
jobs:
toy-desc:
runs-on: ubuntu-latest
if: |
!contains(github.event.issue.title, '!exclude!') ||
contains(github.event.issue.title, '!force!')
steps:
- name: Toy with issue description
uses: actions/github-script@v4.0.2
with:
script: |
const title = `${{ github.event.issue.title }} !`
const body = `updated\n${{ github.event.issue.body }}`
github.issues.update({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
title: title,
body: body
})

82
.github/workflows/symlink-test.yml vendored Normal file
View File

@@ -0,0 +1,82 @@
name: Symlink Test
on:
# trigger on push to any branch
push:
branches-ignore:
- 'release/*'
tags-ignore:
- '*'
jobs:
# try to create and push the symlink
symlink-test:
name: Symlink Test
runs-on: windows-latest
steps:
# checkout the code
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
# symlink via bash
# this does *not* create a symlink, but a directory
#- name: Symlink Bash
# shell: bash
# run: |
# if ! [ -L bang ]; then
# ln -s duh bang
# ls -l
# git config --global user.email "stephan@REDACTED.com"
# git config --global user.name "Stephan"
# git config --global core.symlinks "true"
# git add bang
# git commit -m "created symlink"
# fi
# symlink via pwsh
# this creates a 'bang' file that contains 'duh'
# on local machine, it fails 'New-Item: Administrator privilege required for this operation.'
#
# update: it creates *something* that is listed as a directory in the log,
# and that GitHub represents as a link, so it has to be a link, but when
# I check the thing out, it's a file
# because Windows won't create the link but on Linux, it's checked out as a link
#
#- name: Symlink Pwsh
# shell: pwsh
# run: |
# if (! (test-path bang)) {
# New-Item -ItemType SymbolicLink -Name bang -Target duh
# write-output "DIR:"
# ls .
# write-output "DIR:"
# ls bang
# git config --global user.email "stephan@REDACTED.com"
# git config --global user.name "Stephan"
# git config --global core.symlinks "true"
# git add bang
# git commit -m "created symlink"
# }
# see
# this just creates the symlink in Git - works on Windows
# BUT will be checked out as a file and we don't care
- name: Symlink Git
shell: bash
run: |
if ! [ -f "bang" ]; then
git update-index --add --cacheinfo 120000 "$(echo "duh" | git hash-object -w --stdin)" "bang"
git config --global user.email "stephan@REDACTED.com"
git config --global user.name "Stephan"
git commit -m "created symlink"
fi
# push changes back
- name: Push
shell: bash
run: git push

25
.github/workflows/test-push.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Test Push
on: push
jobs:
foo:
name: Foo
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{github.ref}}
- name: Foo
shell: bash
run: |
echo "foo" >> foo.txt
- name: Push
shell: bash
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "github-actions@hazelcast.com"
git add foo.txt
git commit -m "Foo"
git push

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
node_modules/

View File

@@ -1,27 +1,32 @@
test-repo
=========
# A Git(Hub) Test Repository
Test Repository
Hey! This is my personal Git(Hub) Test Repository where I experiment with Git and GitHub.
`git clone https://github.com/zpqrtbnk/test-repo.git .`
If you are new to Git and GitHub and found this repository through Google: feel free to clone the repository and experiment with it! You will not be able to push back to the repository, as it is *my* repository and I cannot let everybody push to it. The right way to do it on GitHub is:
We have pages at : http://zpqrtbnk.github.io/test-repo/
1. fork the repository in your own account,
2. make changes and push them in a branch of your own fork,
3. create a Pull Request in my repository.
Edit the file
Add an image
Can't get a newline? Must add two spaces
I will get notified, will review the changes that you propose, and eventually will either merge the changes, or reject them. This *may* take some time as I am not actively monitoring nor maintaining this repository, as you can guess, but I try to be helpful ;)
Include
Don't expect to find anything meaningful nor useful in the repository. Also, I happen to force-push a reset of everything from time to time. This means that I reset all history, including changes that you may have submitted. In theory, noone ever does this to a repository. But hey, this is a *test* repository after all.
The rest of this README file is mostly random stuff.
Clone the repository with: `git clone https://github.com/zpqrtbnk/test-repo.git .`
We have test GitHUb pages (from the `gh-pages` branch) at: http://zpqrtbnk.github.io/test-repo/
We have an image in the README (markdown)
![Image](https://raw.github.com/zpqrtbnk/test-repo/master/wtf.jpg)
But I don't know how to float the image left or right, nor how to center it, nor how to size
it so it's very basic anyway...
We have an image in the README (html)
<img src="./wtf.jpg" />
We have an image in the README (more html)
<p align="center" style="background:#000;padding:5px;color:#fff;font-size:150%;margin-bottom:64px">
<img src="./wtf.jpg" />
<span style="margin-left:48px;">wubble</span>
</p>
`git add`
`git push origin master`
`git pull`
`git checkout`
etc
etc

View File

1
bang Symbolic link
View File

@@ -0,0 +1 @@
duh

View File

View File

@@ -1 +0,0 @@
test

3
dan.txt Normal file
View File

@@ -0,0 +1,3 @@
this is a new file only in my branch
changing something that won't conflict in master

View File

View File

View File

1
duh.txt Normal file
View File

@@ -0,0 +1 @@
duh

1
duh/bah.txt Normal file
View File

@@ -0,0 +1 @@
bah

1
duh/duh.txt Normal file
View File

@@ -0,0 +1 @@
duh

3
e.txt Normal file
View File

@@ -0,0 +1,3 @@
e
MiNor Change

View File

2
foo.txt Normal file
View File

@@ -0,0 +1,2 @@
foo
foo

View File

View File

View File

@@ -1,5 +0,0 @@
Index!
some *more* random stuff to test pages
A test pr!

View File

View File

1
pii.txt Normal file
View File

@@ -0,0 +1 @@
pii

View File

@@ -1 +0,0 @@
mod

View File

@@ -1,4 +0,0 @@
premier
deuxieme

View File

View File

View File

View File

View File

@@ -1 +0,0 @@
iiii

View File

View File

@@ -1,3 +0,0 @@
premiers
deuxiemes

View File

@@ -1,5 +0,0 @@
premier
deuxieme
troisieme

View File

View File