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

[pull] master from probot:master #1052

Open
wants to merge 844 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
844 commits
Select commit Hold shift + click to select a range
3dbcec6
chore: Sync data
probotbot Mar 21, 2024
52040ec
chore: Sync data
probotbot Mar 22, 2024
58a0f24
chore: Sync data
probotbot Mar 23, 2024
c53404e
chore: Sync data
probotbot Mar 24, 2024
be125b0
chore: Sync data
probotbot Mar 25, 2024
d3df0c9
chore: Sync data
probotbot Mar 26, 2024
5c444a9
Update docs from Probot v13.1.0
actions-user Mar 26, 2024
06d5711
Update docs from Probot v13.1.1
actions-user Mar 26, 2024
05490f0
Update docs from Probot v13.1.1
actions-user Mar 26, 2024
15c334c
Update docs from Probot v13.1.1
actions-user Mar 26, 2024
d3f32e2
chore: Sync data
probotbot Mar 27, 2024
3fc3ad6
chore: Sync data
probotbot Mar 28, 2024
cc777c1
chore: Sync data
probotbot Mar 29, 2024
b15071d
chore: Sync data
probotbot Mar 30, 2024
8c45ff3
ci(action): update actions/configure-pages action to v5
renovate[bot] Mar 30, 2024
8dab962
Update docs from Probot v13.1.2
actions-user Mar 30, 2024
98aef31
chore: Sync data
probotbot Mar 31, 2024
f9a707a
chore: Sync data
probotbot Apr 1, 2024
604250c
chore: Sync data
probotbot Apr 2, 2024
7d2b4cc
Update docs from Probot v13.1.2
actions-user Apr 2, 2024
a75ecfa
chore: Sync data
probotbot Apr 3, 2024
8870fcc
Update docs from Probot v13.1.2
actions-user Apr 3, 2024
702c8f1
chore: Sync data
probotbot Apr 4, 2024
0e5c19d
chore: Sync data
probotbot Apr 5, 2024
7f2aeea
chore: Sync data
probotbot Apr 6, 2024
1bed1b6
chore(deps): update dependency eslint to v9 (#562)
renovate[bot] Apr 6, 2024
4137856
chore: Sync data
probotbot Apr 7, 2024
0e6d4f7
chore: Sync data
probotbot Apr 8, 2024
cd003d1
chore: Sync data
probotbot Apr 9, 2024
b3ba3b3
Update docs from Probot v13.2.0
actions-user Apr 9, 2024
de72dff
chore: Sync data
probotbot Apr 10, 2024
0b0b1e4
Update docs from Probot v13.2.0
actions-user Apr 10, 2024
6d6a9a2
chore: Sync data
probotbot Apr 11, 2024
7227ace
chore(deps): bump tar from 6.2.0 to 6.2.1 (#563)
dependabot[bot] Apr 11, 2024
fd436da
chore: Sync data
probotbot Apr 12, 2024
216c8b6
chore: Sync data
probotbot Apr 13, 2024
18608bb
chore: Sync data
probotbot Apr 14, 2024
7007550
chore: Sync data
probotbot Apr 15, 2024
32c6ad1
chore: Sync data
probotbot Apr 16, 2024
4e365b1
Update docs from Probot v13.2.0
actions-user Apr 16, 2024
2c539e6
chore: Sync data
probotbot Apr 17, 2024
65ae552
chore: Sync data
probotbot Apr 18, 2024
8c1cd12
chore: Sync data
probotbot Apr 19, 2024
3ede29f
chore: Sync data
probotbot Apr 20, 2024
cf9786e
chore: Sync data
probotbot Apr 21, 2024
0896242
chore: Sync data
probotbot Apr 22, 2024
1d7203f
chore: Sync data
probotbot Apr 23, 2024
3663ec9
Update docs from Probot v13.2.0
actions-user Apr 23, 2024
43a3709
chore: Sync data
probotbot Apr 24, 2024
701d314
chore: Sync data
probotbot Apr 25, 2024
7073266
Update docs from Probot v13.2.0
actions-user Apr 25, 2024
aa7ba30
chore: Sync data
probotbot Apr 26, 2024
6b35376
chore: Sync data
probotbot Apr 27, 2024
ed558f1
chore: Sync data
probotbot Apr 28, 2024
e2de623
chore: Sync data
probotbot Apr 29, 2024
366c5e4
chore(deps): update dependency yaml to v2.4.2
renovate[bot] Apr 29, 2024
d5a34f5
chore: Sync data
probotbot Apr 30, 2024
3f4aa41
Update docs from Probot v13.2.0
actions-user Apr 30, 2024
a777676
Update docs from Probot v13.2.0
actions-user Apr 30, 2024
7e089ca
chore: Sync data
probotbot May 1, 2024
562a9b2
Update docs from Probot v12.3.4
actions-user May 1, 2024
9ba838c
chore: Sync data
probotbot May 2, 2024
7830514
chore(deps): bump ejs from 3.1.9 to 3.1.10 (#565)
dependabot[bot] May 2, 2024
6c4bb77
chore(deps): update yarn to v4.2.0 (#566)
renovate[bot] May 2, 2024
8175d22
chore(deps): update yarn to v4.2.1 (#567)
renovate[bot] May 2, 2024
4a05078
chore: Sync data
probotbot May 3, 2024
c88522a
chore: Sync data
probotbot May 4, 2024
e7faf1d
chore: Sync data
probotbot May 5, 2024
8905a0d
chore: Sync data
probotbot May 6, 2024
1f7dabe
chore: Sync data
probotbot May 7, 2024
fda9cad
Update docs from Probot v13.2.1
actions-user May 7, 2024
3900152
Update docs from Probot v13.2.2
actions-user May 7, 2024
652cf18
chore: Sync data
probotbot May 8, 2024
e306bfb
chore(deps): update yarn to v4.2.2 (#568)
renovate[bot] May 8, 2024
d9486e9
chore: Sync data
probotbot May 9, 2024
a7f77fe
Update docs from Probot v13.2.2
actions-user May 9, 2024
a08d94f
chore: Sync data
probotbot May 10, 2024
d0eb984
chore: Sync data
probotbot May 11, 2024
8ed12a0
chore: Sync data
probotbot May 12, 2024
6c7b017
chore: Sync data
probotbot May 13, 2024
75a8124
chore: Sync data
probotbot May 14, 2024
3e20b03
Update docs from Probot v13.2.2
actions-user May 14, 2024
81b8f65
chore: Sync data
probotbot May 15, 2024
768bfcf
Update docs from Probot v13.2.2
actions-user May 15, 2024
e81e638
chore: Sync data
probotbot May 16, 2024
172c133
chore: Sync data
probotbot May 17, 2024
4d2dc8b
chore: Sync data
probotbot May 18, 2024
e52e382
chore: Sync data
probotbot May 19, 2024
e91ffde
chore: Sync data
probotbot May 20, 2024
a9f6cf7
chore: Sync data
probotbot May 21, 2024
c10f617
Update docs from Probot v13.2.2
actions-user May 21, 2024
d7a393f
chore: Sync data
probotbot May 22, 2024
7956fce
chore: Sync data
probotbot May 23, 2024
d2a09f6
chore: Sync data
probotbot May 24, 2024
340ea0c
chore: Sync data
probotbot May 25, 2024
292ee9c
chore: Sync data
probotbot May 26, 2024
707df88
chore: Sync data
probotbot May 27, 2024
9a92969
chore: Sync data
probotbot May 28, 2024
8175ac5
chore: Sync data
probotbot May 29, 2024
42b202a
chore: Sync data
probotbot May 30, 2024
aaf5eec
chore: Sync data
probotbot May 31, 2024
dd1900b
chore: Sync data
probotbot Jun 1, 2024
7b5bbf9
chore: Sync data
probotbot Jun 2, 2024
39d6249
chore: Sync data
probotbot Jun 3, 2024
afaaa66
chore(deps): update dependency yaml to v2.4.3
renovate[bot] Jun 3, 2024
411bea5
Update docs from Probot v12.4.0
actions-user Jun 3, 2024
0e014f2
Update docs from Probot v12.4.0
actions-user Jun 3, 2024
0307c13
chore(deps): bump pug from 3.0.2 to 3.0.3
dependabot[bot] Jun 3, 2024
dd923dd
Update docs from Probot v13.3.0
actions-user Jun 3, 2024
c81ee9a
chore: Sync data
probotbot Jun 4, 2024
840d647
chore: Sync data
probotbot Jun 5, 2024
22c1495
chore: Sync data
probotbot Jun 6, 2024
a119e74
chore: Sync data
probotbot Jun 7, 2024
8d8a079
chore: Sync data
probotbot Jun 8, 2024
6de3767
Added issue-assigner app to _apps folder (#572)
Varun-Kolanu Jun 8, 2024
1337eb0
chore: Sync data
probotbot Jun 9, 2024
e14ee37
fix: update docs to fix setup error (#575)
Varun-Kolanu Jun 9, 2024
00f07f7
fix: update screenshot urls to be rendered correctly in issue-assigne…
Varun-Kolanu Jun 9, 2024
c94b4e7
chore: Sync data
probotbot Jun 10, 2024
cd3ae47
chore(deps): update dependency yaml to v2.4.5
renovate[bot] Jun 10, 2024
ec2ec59
chore(deps): update yarn to v4.3.0 (#576)
renovate[bot] Jun 10, 2024
ed045ad
chore(deps): bump braces from 3.0.2 to 3.0.3 (#577)
dependabot[bot] Jun 10, 2024
db8182d
chore: Sync data
probotbot Jun 11, 2024
8b6c201
Update docs from Probot v13.3.0
actions-user Jun 11, 2024
e71da4d
chore: Sync data
probotbot Jun 12, 2024
c2a4c33
chore: Sync data
probotbot Jun 13, 2024
26166b2
chore: Sync data
probotbot Jun 14, 2024
66ba082
chore: Sync data
probotbot Jun 15, 2024
9209246
chore: Sync data
probotbot Jun 16, 2024
ff854dc
chore: Sync data
probotbot Jun 17, 2024
881b452
chore: Sync data
probotbot Jun 18, 2024
b90eb61
Update docs from Probot v13.3.0
actions-user Jun 18, 2024
ebdce33
chore(deps): bump ws from 8.16.0 to 8.17.1
dependabot[bot] Jun 18, 2024
2cfe123
chore: Sync data
probotbot Jun 19, 2024
cd6e576
chore: Sync data
probotbot Jun 20, 2024
6deb503
chore: Sync data
probotbot Jun 21, 2024
4175c51
chore: Sync data
probotbot Jun 22, 2024
dcdcf4f
chore: Sync data
probotbot Jun 23, 2024
d693c58
chore: Sync data
probotbot Jun 24, 2024
a741206
chore: Sync data
probotbot Jun 25, 2024
31dbadb
chore: Sync data
probotbot Jun 26, 2024
98acf70
Update docs from Probot v13.3.0
actions-user Jun 26, 2024
256108f
chore(deps): update yarn to v4.3.1
renovate[bot] Jun 27, 2024
4300efd
chore(deps): update dependency @octokit/rest to v21
renovate[bot] Jun 27, 2024
1eeef34
build(deps): lock file maintenance
renovate[bot] Jun 27, 2024
c45d017
build(deps): lock file maintenance
renovate[bot] Jul 1, 2024
8701911
Fix builds (#585)
AaronDewes Jul 3, 2024
52b510e
build: Update node to v20
AaronDewes Jul 7, 2024
79569ff
fix(build): Workarounds for sass
AaronDewes Jul 7, 2024
718cacb
build(deps): lock file maintenance
renovate[bot] Jul 8, 2024
f95d378
Update docs from Probot v13.3.1
actions-user Jul 9, 2024
d236740
Update docs from Probot v13.3.2
actions-user Jul 9, 2024
cd7d528
Update docs from Probot v13.3.2
actions-user Jul 10, 2024
ea97566
Update docs from Probot v13.3.2
actions-user Jul 13, 2024
7d13dd9
Update docs from Probot v13.3.3
actions-user Jul 13, 2024
bbc38d2
Update docs from Probot v13.3.4
actions-user Jul 13, 2024
73b8ff2
Update docs from Probot v13.3.5
actions-user Jul 15, 2024
1de2161
Update docs from Probot v13.3.6
actions-user Jul 16, 2024
6fc8b2b
build(deps): lock file maintenance
renovate[bot] Jul 16, 2024
5f9466d
Merge pull request #589 from probot/renovate/lock-file-maintenance
wolfy1339 Jul 16, 2024
c952510
Update docs from Probot v13.3.6
actions-user Jul 19, 2024
6797eec
Update docs from Probot v13.3.6
actions-user Jul 20, 2024
ffd5aa9
added flex and gap properties to buttons on community page (#590)
ryuk-jayant Jul 21, 2024
6b799a5
build(deps): lock file maintenance
renovate[bot] Jul 22, 2024
8766017
Update docs from Probot v13.3.6
actions-user Jul 23, 2024
07c4862
build(deps): lock file maintenance
renovate[bot] Jul 29, 2024
7cf4836
Update docs from Probot v13.3.6
actions-user Aug 3, 2024
2ed093b
Update docs from Probot v13.3.6
actions-user Aug 3, 2024
8646c78
Update docs from Probot v13.3.6
actions-user Aug 3, 2024
a9b1e14
chore(deps): update yarn to v4.4.0
renovate[bot] Aug 5, 2024
6f484fd
Update docs from Probot v13.3.6
actions-user Aug 6, 2024
6efdc88
build(deps): lock file maintenance
renovate[bot] Aug 6, 2024
ee3b1dc
Add Darkest-PR to the list of apps (#597)
skywarth Aug 11, 2024
4d7141d
build(deps): lock file maintenance
renovate[bot] Aug 12, 2024
7b8720a
Update docs from Probot v13.3.7
actions-user Aug 16, 2024
ff761ca
build(deps): lock file maintenance
renovate[bot] Aug 19, 2024
9515a3d
Update docs from Probot v13.3.7
actions-user Aug 20, 2024
0fd883e
chore(deps): update yarn to v4.4.1 (#600)
renovate[bot] Aug 24, 2024
cb7c11f
chore(deps): bump micromatch from 4.0.7 to 4.0.8
dependabot[bot] Aug 24, 2024
c0f50eb
build(deps): lock file maintenance
renovate[bot] Aug 26, 2024
101d20d
build(deps): lock file maintenance
renovate[bot] Sep 3, 2024
9aa2afb
build(deps): lock file maintenance
renovate[bot] Sep 9, 2024
e0f6e00
chore(deps): update yarn to v4.5.0 (#605)
renovate[bot] Sep 14, 2024
70c63df
build(deps): lock file maintenance
renovate[bot] Sep 16, 2024
f5fd0a6
Update docs from Probot v13.3.7
actions-user Sep 17, 2024
e1c4a3d
Update docs from Probot v13.3.7
actions-user Sep 18, 2024
e4e1ffd
chore(deps): update dependency yaml to v2.5.1 (#593)
renovate[bot] Sep 23, 2024
44a7f11
build(deps): lock file maintenance (#607)
renovate[bot] Sep 24, 2024
27d33d6
Update docs from Probot v13.3.8
actions-user Sep 24, 2024
bdffcf3
chore(deps): update dependency ubuntu to v24 (#608)
renovate[bot] Sep 27, 2024
6df1755
maint: workaround issue with ts-node and NodeJs 20+
wolfy1339 Sep 30, 2024
117c4db
maint: fix `__dirname` not defined in ESM
wolfy1339 Sep 30, 2024
491f5b7
maint: fix cryptic error from ts-node
wolfy1339 Sep 30, 2024
3ce00a4
chore: sync data
wolfy1339 Sep 30, 2024
982510a
chore: Sync data
probotbot Oct 1, 2024
f4eeeec
Update docs from Probot v13.3.8
actions-user Oct 1, 2024
85792ee
chore: Sync data
probotbot Oct 2, 2024
7139c74
chore: Sync data
probotbot Oct 3, 2024
8d9873c
chore: Sync data
probotbot Oct 4, 2024
d912562
chore: Sync data
probotbot Oct 5, 2024
7307188
chore: Sync data
probotbot Oct 6, 2024
8a9b426
chore: Sync data
probotbot Oct 7, 2024
121935c
chore: Sync data
probotbot Oct 8, 2024
b1512b2
chore: Sync data
probotbot Oct 9, 2024
fc4058b
Update docs from Probot v13.3.8
actions-user Oct 9, 2024
499625f
chore: Sync data
probotbot Oct 10, 2024
a47fe0b
chore: Sync data
probotbot Oct 11, 2024
fdfff2d
chore: Sync data
probotbot Oct 12, 2024
d5c04ca
chore: Sync data
probotbot Oct 13, 2024
a2ab37a
chore: Sync data
probotbot Oct 14, 2024
6b5176a
chore: Sync data
probotbot Oct 15, 2024
0bd640b
chore: Sync data
probotbot Oct 16, 2024
7ad540c
Update docs from Probot v13.3.8
actions-user Oct 16, 2024
65574a0
Update docs from Probot v13.3.8
actions-user Oct 16, 2024
a89cf4c
Update docs from Probot v13.3.8
actions-user Oct 16, 2024
9c574ea
chore: Sync data
probotbot Oct 17, 2024
35d63a0
chore: Sync data
probotbot Oct 18, 2024
01ad321
chore: Sync data
probotbot Oct 19, 2024
c17f479
chore: Sync data
probotbot Oct 20, 2024
8485d9b
chore: Sync data
probotbot Oct 21, 2024
3c5e7be
chore: Sync data
probotbot Oct 22, 2024
e2c1539
chore: Sync data
probotbot Oct 23, 2024
2de241a
chore: Sync data
probotbot Oct 24, 2024
df9ec52
chore: Sync data
probotbot Oct 25, 2024
55e6bd8
chore: Sync data
probotbot Oct 26, 2024
504ed9b
chore: Sync data
probotbot Oct 27, 2024
3eef5bc
chore: Sync data
probotbot Oct 28, 2024
99bcdc2
chore(deps): update dependency npm-run-all2 to v7
renovate[bot] Oct 28, 2024
71e5c6f
Update docs from Probot v13.3.8
actions-user Oct 28, 2024
3eb440d
chore: Sync data
probotbot Oct 29, 2024
c7a8a43
chore: Sync data
probotbot Oct 30, 2024
0e65496
chore: Sync data
probotbot Oct 31, 2024
35bd67c
Update docs from Probot v13.3.8
actions-user Oct 31, 2024
a53a871
chore: Sync data
probotbot Nov 1, 2024
530a4b1
chore: Sync data
probotbot Nov 2, 2024
d4a62cd
chore: Sync data
probotbot Nov 3, 2024
f941dbc
chore: Sync data
probotbot Nov 4, 2024
f159493
chore: Sync data
probotbot Nov 5, 2024
29482e6
Update docs from Probot v13.3.9
actions-user Nov 5, 2024
080b69f
chore: Sync data
probotbot Nov 6, 2024
be4f7ef
chore: Sync data
probotbot Nov 7, 2024
0ad04fa
chore: Sync data
probotbot Nov 8, 2024
987d8d4
chore: Sync data
probotbot Nov 9, 2024
eca7589
build(deps): lock file maintenance (#613)
renovate[bot] Nov 9, 2024
7551eaa
chore(deps): update dependency @types/node to v22
renovate[bot] Nov 9, 2024
c920e3f
chore(deps): update yarn to v4.5.1
renovate[bot] Nov 9, 2024
85461a9
Update docs from Probot v13.3.10
actions-user Nov 9, 2024
0998f2b
chore: Sync data
probotbot Nov 10, 2024
391d2f2
chore: Sync data
probotbot Nov 11, 2024
e1d2d95
chore: Sync data
probotbot Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
25 changes: 13 additions & 12 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
const htmlmin = require("html-minifier");
const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
const {Liquid} = require("liquidjs");
const markdownIt = require("markdown-it");
import htmlmin from "html-minifier";
import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight";
import {Liquid} from "liquidjs";
import markdownIt from "markdown-it";
import octiconTag from "./js/octicons-liquid/tag.js";

function watchAndPass(file, config) {
config.addWatchTarget(file);
config.addPassthroughCopy(file);
}
module.exports = function (eleventyConfig) {
export default function (eleventyConfig) {
watchAndPass("./assets/js", eleventyConfig);
watchAndPass("./assets/dist", eleventyConfig);
watchAndPass("./assets/img", eleventyConfig);
Expand All @@ -24,8 +25,8 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(syntaxHighlight);

// Reduce HTML output size
eleventyConfig.addTransform("htmlmin", function(content, outputPath) {
if( this.outputPath && this.outputPath.endsWith(".html") ) {
eleventyConfig.addTransform("htmlmin", (content, outputPath) => {
if(outputPath && outputPath.endsWith(".html") ) {
let minified = htmlmin.minify(content, {
useShortDoctype: true,
removeComments: true,
Expand All @@ -37,11 +38,11 @@ module.exports = function (eleventyConfig) {
return content;
});

eleventyConfig.addCollection("apps", function(collectionApi) {
return collectionApi.getFilteredByGlob("_apps/*.md").sort((a, b) => b.data.starts - a.data.starts);
eleventyConfig.addCollection("apps", (collectionApi) => {
return collectionApi.getFilteredByGlob("_apps/*.md").sort((a, b) => b.data.stars - a.data.stars);
});

eleventyConfig.addCollection("docs", function(collectionApi) {
eleventyConfig.addCollection("docs", (collectionApi) => {
return collectionApi.getFilteredByGlob("_docs/*.md");
});

Expand All @@ -53,7 +54,7 @@ module.exports = function (eleventyConfig) {
root: ["_includes"]
};
const liquid = new Liquid(options);
liquid.registerTag('octicon', require("./js/octicons-liquid/tag.js"));
liquid.registerTag('octicon', octiconTag);
eleventyConfig.setLibrary("liquid", liquid);

// Customize markdown-it settings
Expand All @@ -63,7 +64,7 @@ module.exports = function (eleventyConfig) {
linkify: true
});

eleventyConfig.addFilter('markdown', function(value) {
eleventyConfig.addFilter('markdown', (value) => {
return markdown.render(value);
});

Expand Down
13 changes: 0 additions & 13 deletions .eslintrc.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ App Review Process: https://github.com/probot/probot.github.io/blob/master/.gith
- [ ] All comments in frontmatter need to be removed.
- [ ] Performs a useful action through the GitHub API that solves an existing problem for developers: {explain the action here}
- [ ] Is original: for example, it does something not already done by an existing Probot app
- [ ] Is using the probot version (v12 or latest)
- [ ] [Has tests](yourURLhere)
- [ ] [Has documentation](yourURLhere)
- [ ] [Is open source](yourURLhere)
Expand Down
5 changes: 5 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"github>probot/.github"
]
}
89 changes: 62 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,73 @@
name: Build Eleventy

on:
# Runs on pushes targeting the default branch
push:
branches:
- main
- master
branches: [master]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Build job
build:
runs-on: ubuntu-20.04

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Install Node.js
uses: actions/setup-node@v2
- name: Restore yarn cache
uses: actions/cache@v4
with:
node-version: '16'
cache: 'yarn'

- name: Install dependencies & build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git submodule init
git submodule update
yarn
yarn sass
yarn build
# Prevent GitHub from trying to use Jekyll
touch _site/.nojekyll

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
path: |
.yarn/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-website-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-website-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-

- name: Install dependencies
run: yarn install

- name: Build CSS
run: yarn sass

- name: Build with Eleventy
run: yarn build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
publish_dir: ./_site
github_token: ${{ secrets.GITHUB_TOKEN }}
path: ./_site

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
53 changes: 40 additions & 13 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@ name: Sync app data
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true

- name: Install Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
cache: 'yarn'

- name: Install dependencies & sync data
Expand All @@ -24,15 +27,39 @@ jobs:
yarn install
yarn sync-data

- name: Determine default branch
- name: Commit & Push changes
run: |
DEFAULT_BRANCH=$(git remote show origin | awk '/HEAD branch/ {print $NF}')
echo "default_branch=$DEFAULT_BRANCH" >> $GITHUB_ENV
echo "default_branch_ref=refs/heads/$DEFAULT_BRANCH" >> $GITHUB_ENV
git submodule init
git submodule update
git config user.name Probot Bot
git config user.email [email protected]
git add .
# do not error if there is nothing to commit
git commit -m "chore: Sync data" && git push || true

- name: Commit & Push changes
uses: davidolrik/push@b88b2c57f3a4c23bf2abf091c319e77088dd0172

- name: Build CSS
run: yarn sass

- name: Build with Eleventy
run: yarn build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: 'chore: Sync data'
branch: ${{ env.default_branch }}
path: ./_site

deploy:
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
!.yarn/versions
.pnp.*
.env
.netlify
private
lib/tsconfig.tsbuildinfo
_site
node_modules
assets/dist
Empty file removed .nojekyll
Empty file.
616 changes: 0 additions & 616 deletions .yarn/releases/yarn-3.0.0-rc.9.cjs

This file was deleted.

Loading