Skip to content

Commit 49a3400

Browse files
initial
1 parent 8832b67 commit 49a3400

915 files changed

Lines changed: 104063 additions & 0 deletions

File tree

Some content is hidden

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

.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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- [ ] Have you followed the [contributing guidelines](https://github.com/github/opensource.guide/blob/HEAD/CONTRIBUTING.md)?
2+
- [ ] Have you explained what your changes do, and why they add value to the Guides?
3+
4+
**Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.**
5+
6+
-----

.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"
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@v6.0.1
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@v5.0.0
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@v4.0.0
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@v4.0.5
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@v6.0.1
31+
- name: Setup Pages
32+
uses: actions/configure-pages@v5.0.0
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@v4.0.0
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@v4.0.5

.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@v10.1.1
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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: GitHub Actions CI
2+
on:
3+
push:
4+
branches: master
5+
pull_request:
6+
merge_group:
7+
permissions:
8+
contents: read
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Set up Git repository
14+
uses: actions/checkout@v6.0.1
15+
- name: Set up Ruby
16+
uses: ruby/setup-ruby@708024e6c902387ab41de36e1669e43b5ee7085e # v1
17+
with:
18+
bundler-cache: true
19+
- name: Set up Node
20+
uses: actions/setup-node@v6.2.0
21+
- name: Bootstrap
22+
run: script/bootstrap
23+
env:
24+
SKIP_BUNDLER: true
25+
- name: Tests
26+
run: script/test

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
.asset-downloads
3+
.bundle
4+
.jekyll-metadata
5+
.ruby-version
6+
.tool-versions
7+
.sass-cache/
8+
/vendor
9+
_site/
10+
bin
11+
css/main.scss
12+
test/node_modules
13+
test/package-lock.json

.node-version

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

CNAME

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

0 commit comments

Comments
 (0)