Skip to content

Commit b3bd1fc

Browse files
authored
Merge branch 'github:main' into codespace-jubilant-dollop-j795wvp569wc555
2 parents b355a2a + 7aa1ebd commit b3bd1fc

File tree

335 files changed

+29372
-2632
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

335 files changed

+29372
-2632
lines changed

.devcontainer/devcontainer.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "Jekyll website",
3+
"image": "mcr.microsoft.com/devcontainers/jekyll:latest",
4+
"features": {
5+
"ghcr.io/devcontainers/features/node:1": {
6+
"version": "22"
7+
},
8+
"ghcr.io/devcontainers/features/ruby:1": {
9+
"version": "3.3.5"
10+
}
11+
},
12+
"forwardPorts": [
13+
// Jekyll server
14+
4000,
15+
// Live reload server
16+
35729
17+
],
18+
"postCreateCommand": "bundle exec jekyll serve --incremental"
19+
}

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- [ ] Have you followed the [contributing guidelines](https://github.com/github/opensource.guide/blob/master/CONTRIBUTING.md)?
1+
- [ ] Have you followed the [contributing guidelines](https://github.com/github/opensource.guide/blob/HEAD/CONTRIBUTING.md)?
22
- [ ] Have you explained what your changes do, and why they add value to the Guides?
33

44
**Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.**

.github/dependabot.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 99
8+
rebase-strategy: disabled
9+
commit-message:
10+
prefix: "chore(deps)"
11+
groups:
12+
dependencies:
13+
applies-to: version-updates
14+
update-types:
15+
- "minor"
16+
- "patch"
17+
- package-ecosystem: "github-actions"
18+
directory: "/"
19+
schedule:
20+
interval: daily
21+
open-pull-requests-limit: 99
22+
rebase-strategy: disabled
23+
commit-message:
24+
prefix: "chore(deps)"
25+
groups:
26+
dependencies:
27+
applies-to: version-updates
28+
update-types:
29+
- "minor"
30+
- "patch"
31+
- package-ecosystem: bundler
32+
directory: "/"
33+
schedule:
34+
interval: daily
35+
versioning-strategy: increase
36+
open-pull-requests-limit: 99
37+
commit-message:
38+
prefix: "chore(deps)"
39+
groups:
40+
dependencies:
41+
applies-to: version-updates
42+
update-types:
43+
- "minor"
44+
- "patch"

.github/stale.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7+
name: Deploy Jekyll site to Pages preview environment
8+
on:
9+
# Runs on pull requests targeting the default branch
10+
pull_request_target:
11+
branches: ["main"]
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
# Allow only one concurrent deployment per PR, skipping runs queued between the run in-progress and latest queued.
18+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
19+
concurrency:
20+
group: "pages-preview @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
21+
cancel-in-progress: false
22+
jobs:
23+
# Build job
24+
build:
25+
environment:
26+
name: "Pages Preview"
27+
# Limit permissions of the GITHUB_TOKEN for untrusted code
28+
permissions:
29+
contents: read
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
34+
with:
35+
# For PRs make sure to checkout the PR branch
36+
ref: ${{ github.event.pull_request.head.sha }}
37+
repository: ${{ github.event.pull_request.head.repo.full_name }}
38+
- name: Setup Pages
39+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
40+
- name: Build with Jekyll
41+
uses: actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716697 # v1
42+
with:
43+
source: ./
44+
destination: ./_site
45+
- name: Upload artifact
46+
# Automatically uploads an artifact from the './_site' directory by default
47+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
48+
# Deployment job
49+
deploy:
50+
environment:
51+
name: "Pages Preview"
52+
url: ${{ steps.deployment.outputs.page_url }}
53+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
54+
permissions:
55+
contents: read
56+
pages: write
57+
id-token: write
58+
runs-on: ubuntu-latest
59+
needs: build
60+
steps:
61+
- name: Deploy to GitHub Pages
62+
id: deployment
63+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
64+
with:
65+
preview: "true"

.github/workflows/jekyll.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7+
name: Deploy Jekyll site to Pages
8+
on:
9+
# Runs on pushes targeting the default branch
10+
push:
11+
branches: ["main"]
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15+
permissions:
16+
contents: read
17+
pages: write
18+
id-token: write
19+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
20+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
21+
concurrency:
22+
group: "pages"
23+
cancel-in-progress: false
24+
jobs:
25+
# Build job
26+
build:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
31+
- name: Setup Pages
32+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
33+
- name: Build with Jekyll
34+
uses: actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716697 # v1
35+
with:
36+
source: ./
37+
destination: ./_site
38+
- name: Upload artifact
39+
# Automatically uploads an artifact from the './_site' directory by default
40+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
41+
# Deployment job
42+
deploy:
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
runs-on: ubuntu-latest
47+
needs: build
48+
steps:
49+
- name: Deploy to GitHub Pages
50+
id: deployment
51+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4

.github/workflows/stale.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Mark stale PRs
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 12 * * *"
6+
permissions:
7+
contents: read
8+
issues: write
9+
pull-requests: write
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
15+
with:
16+
stale-pr-message: >
17+
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
18+
19+
stale-pr-label: "stale"
20+
exempt-pr-labels: "pinned,security"
21+
days-before-pr-stale: 30
22+
days-before-pr-close: 7
23+
ascending: true
24+
operations-per-run: 100

.github/workflows/tests.yml

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,25 @@ name: GitHub Actions CI
22
on:
33
push:
44
branches: master
5-
pull_request: []
5+
pull_request:
6+
merge_group:
7+
permissions:
8+
contents: read
69
jobs:
710
tests:
811
runs-on: ubuntu-latest
912
steps:
10-
- name: Set up Git repository
11-
uses: actions/checkout@v1
12-
13-
- name: Set up Ruby
14-
uses: actions/setup-ruby@v1
15-
16-
- name: Set up Node
17-
uses: actions/setup-node@v1
18-
19-
- name: Restore bundler cache
20-
uses: actions/cache@v1
21-
with:
22-
path: vendor/gems
23-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
24-
restore-keys: ${{ runner.os }}-gems-
25-
26-
- name: Bootstrap
27-
run: script/bootstrap
28-
29-
- name: Tests
30-
run: script/test
13+
- name: Set up Git repository
14+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
15+
- name: Set up Ruby
16+
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1
17+
with:
18+
bundler-cache: true
19+
- name: Set up Node
20+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
21+
- name: Bootstrap
22+
run: script/bootstrap
23+
env:
24+
SKIP_BUNDLER: true
25+
- name: Tests
26+
run: script/test

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12.14.0

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.3.5

0 commit comments

Comments
 (0)