Skip to content

Commit 4c21d22

Browse files
Merge branch 'github:main' into openutau
2 parents 6cbdfea + 471e5f6 commit 4c21d22

File tree

504 files changed

+3764
-450
lines changed

Some content is hidden

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

504 files changed

+3764
-450
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
### Please confirm this pull request meets the following requirements:
33

44
- [ ] I followed the contributing guidelines: <https://github.com/github/explore/blob/main/CONTRIBUTING.md>.
5-
- [ ] I am not the sole author or employee of a company who created the topic or collection I'm changing.
5+
- [ ] I am not the sole author or employee of a company who created either the topic I am modifying/adding or the collection entry I am modifying/adding.
66

77
### Which change are you proposing?
88

@@ -21,7 +21,7 @@ I'm suggesting these edits to an existing topic or collection:
2121

2222
> Please replace this line with an explanation of why you think these changes should be made.
2323
24-
<!-- ⚠️ ... or this section ⚠️ -->
24+
<!-- ⚠️ this section... ⚠️ -->
2525
### Curating a new topic or collection
2626

2727
- [ ] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. `https://github.com/topics/[NAME]` or `https://github.com/collections/[NAME]`)

.github/dependabot.yml

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,39 @@
1+
---
12
version: 2
23
updates:
3-
- package-ecosystem: github-actions
4+
- package-ecosystem: "github-actions"
45
directory: "/"
56
schedule:
6-
interval: daily
7-
time: "10:00"
8-
timezone: Europe/Vienna
9-
pull-request-branch-name:
10-
separator: "-"
7+
interval: "weekly"
8+
timezone: "America/Los_Angeles"
9+
labels:
10+
- "dependabot"
11+
- "dependencies"
12+
- "github-actions"
13+
commit-message:
14+
prefix: "chore(deps)"
1115
open-pull-requests-limit: 99
12-
rebase-strategy: disabled
16+
groups:
17+
dependencies:
18+
applies-to: version-updates
19+
update-types:
20+
- "minor"
21+
- "patch"
22+
- package-ecosystem: "bundler"
23+
directory: /
24+
schedule:
25+
interval: "weekly"
26+
timezone: "America/Los_Angeles"
27+
labels:
28+
- "dependabot"
29+
- "dependencies"
30+
- "bundler"
31+
commit-message:
32+
prefix: "chore(deps)"
33+
open-pull-requests-limit: 99
34+
groups:
35+
dependencies:
36+
applies-to: version-updates
37+
update-types:
38+
- "minor"
39+
- "patch"

.github/workflows/collections-renames.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,36 @@ name: Check and update renamed/removed collection items
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: "0 * * * *" # every hour
6+
- cron: "0 * * * *" # every hour
7+
8+
permissions:
9+
contents: read
710

811
jobs:
912
update:
13+
permissions:
14+
pull-requests: write
15+
contents: write
1016
runs-on: ubuntu-latest
1117
if: github.repository_owner == 'github'
1218
steps:
13-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4.2.2
1420

1521
- name: Setup Ruby
16-
uses: ruby/setup-ruby@v1
22+
uses: ruby/setup-ruby@1287d2b408066abada82d5ad1c63652e758428d9 # v1.214.0
1723
with:
1824
bundler-cache: true
1925

2026
- name: Test collection with autofix and commit changes
21-
uses: technote-space/create-pr-action@v2
27+
uses: technote-space/create-pr-action@91114507cf92349bec0a9a501c2edf1635427bc5 # v2
2228
env:
2329
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2430
AUTOCORRECT_RENAMED_REPOS: 1
2531
with:
2632
EXECUTE_COMMANDS: |
2733
bundle exec rake collections
28-
COMMIT_MESSAGE: '✨ Autofixing renamed/removed collection items ✨'
29-
COMMIT_NAME: 'GitHub Actions'
30-
COMMIT_EMAIL: '[email protected]'
31-
PR_BRANCH_NAME: 'update-collections-${PR_ID}'
32-
PR_TITLE: '✨ Autofixing renamed/removed collection items ✨'
34+
COMMIT_MESSAGE: "✨ Autofixing renamed/removed collection items ✨"
35+
COMMIT_NAME: "GitHub Actions"
36+
COMMIT_EMAIL: "[email protected]"
37+
PR_BRANCH_NAME: "update-collections-${PR_ID}"
38+
PR_TITLE: "✨ Autofixing renamed/removed collection items ✨"

.github/workflows/conflict.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@ on:
44
pull_request:
55
merge_group:
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
check:
912
runs-on: ubuntu-latest
1013
steps:
1114
- run: |
1215
echo "In order to review this pull request for acceptance, we need to make sure that all of the prerequisites are satisfied."
1316
echo "This was not checked:"
14-
echo "> I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee)"
17+
echo "> I am not the sole author or employee of a company who created either the topic I am modifying/adding or the collection entry I am modifying/adding."
1518
echo "This is a requirement to maintain a high level of independence in this project. Please update if you are able to verify that you meet that requirement."
1619
echo "Thank you!"
1720
exit 1
18-
if: contains(github.event.pull_request.body, '- [ ] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).')
21+
if: contains(github.event.pull_request.body, '- [ ] I am not the sole author or employee of a company who created either the topic I am modifying/adding or the collection entry I am modifying/adding.')
1922
name: Fail
2023
- run: exit 0
21-
if: contains(github.event.pull_request.body, '- [x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).')
24+
if: contains(github.event.pull_request.body, '- [x] I am not the sole author or employee of a company who created either the topic I am modifying/adding or the collection entry I am modifying/adding.')
2225
name: Succeed

.github/workflows/jekyll_build.yml

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,42 @@ on:
88

99
permissions:
1010
contents: read
11-
pages: write
12-
id-token: write
13-
11+
1412
concurrency:
1513
group: "pages"
1614
cancel-in-progress: true
1715

1816
jobs:
1917
build:
18+
permissions:
19+
pages: write
20+
id-token: write
2021
runs-on: ubuntu-latest
2122
steps:
22-
- name: 📂 checkout
23-
uses: actions/checkout@v3
23+
- name: 📂 checkout
24+
uses: actions/[email protected]
25+
26+
- name: 💎 setup ruby
27+
uses: ruby/setup-ruby@1287d2b408066abada82d5ad1c63652e758428d9 # v1.214.0
28+
with:
29+
bundler-cache: true
30+
cache-version: 0
2431

25-
- name: 💎 setup ruby
26-
uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0
27-
with:
28-
bundler-cache: true
29-
cache-version: 0
32+
- name: 📄 setup pages
33+
id: pages
34+
uses: actions/[email protected]
3035

31-
- name: 📄 setup pages
32-
id: pages
33-
uses: actions/configure-pages@v3
36+
- name: 🔨 install dependencies & build site
37+
uses: actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716697 # v1.0.13
3438

35-
- name: 🔨 install dependencies & build site
36-
uses: actions/[email protected]
37-
38-
- name: ⚡️ upload artifact
39-
uses: actions/upload-pages-artifact@v2
39+
- name: ⚡️ upload artifact
40+
uses: actions/[email protected]
4041

4142
deploy:
4243
needs: build
44+
permissions:
45+
pages: write
46+
id-token: write
4347

4448
environment:
4549
name: github-pages
@@ -49,4 +53,4 @@ jobs:
4953
steps:
5054
- name: 🚀 deploy
5155
id: deployment
52-
uses: actions/deploy-pages@v2.0.3
56+
uses: actions/deploy-pages@v4.0.5

.github/workflows/lint.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@ on:
88
workflow_dispatch:
99
merge_group:
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
lint:
1316
runs-on: ubuntu-latest
1417
steps:
15-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4.2.2
1619

1720
- name: Setup Ruby
18-
uses: ruby/setup-ruby@v1
21+
uses: ruby/setup-ruby@1287d2b408066abada82d5ad1c63652e758428d9 # v1.214.0
1922
with:
2023
bundler-cache: true
2124

2225
- name: Run linters
2326
if: ${{ github.event_name != 'merge_group' }}
24-
uses: wearerequired/lint-action@v2
27+
uses: wearerequired/lint-action@548d8a7c4b04d3553d32ed5b6e91eb171e10e7bb # v2
2528
with:
2629
auto_fix: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }}
2730
rubocop: true

.github/workflows/stale.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@ name: Mark stale PRs
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: "0 12 * * *"
5+
- cron: "0 12 * * *"
66

77
permissions:
88
contents: read
99

1010
jobs:
1111
stale:
1212
permissions:
13-
issues: write # for actions/stale to close stale issues
14-
pull-requests: write # for actions/stale to close stale PRs
13+
issues: write # for actions/stale to close stale issues
14+
pull-requests: write # for actions/stale to close stale PRs
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/stale@v8
18-
with:
19-
stale-pr-message: >
20-
This pull request has been automatically marked as stale because it has not
21-
had recent activity. It will be closed if no further activity occurs.
22-
Thank you for your contributions.
23-
stale-pr-label: "stale"
24-
exempt-pr-labels: "pinned,security,dependencies"
25-
days-before-pr-stale: 30
26-
days-before-pr-close: 7
27-
ascending: true
28-
operations-per-run: 100
17+
- uses: actions/stale@v9.1.0
18+
with:
19+
stale-pr-message: >
20+
This pull request has been automatically marked as stale because it has not
21+
had recent activity. It will be closed if no further activity occurs.
22+
Thank you for your contributions.
23+
stale-pr-label: "stale"
24+
exempt-pr-labels: "pinned,security,dependencies"
25+
days-before-pr-stale: 30
26+
days-before-pr-close: 7
27+
ascending: true
28+
operations-per-run: 100

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
workflow_dispatch:
99
merge_group:
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
test:
1316
strategy:
@@ -19,7 +22,7 @@ jobs:
1922
- all
2023
runs-on: ubuntu-latest
2124
steps:
22-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4.2.2
2326
with:
2427
fetch-depth: 0
2528

@@ -40,7 +43,7 @@ jobs:
4043

4144
- name: Setup Ruby
4245
if: ${{ steps.topics.outputs.changed || steps.collections.outputs.changed || steps.all.outputs.changed }}
43-
uses: ruby/setup-ruby@v1
46+
uses: ruby/setup-ruby@1287d2b408066abada82d5ad1c63652e758428d9 # v1.214.0
4447
with:
4548
bundler-cache: true
4649

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.DS_Store
2-
Gemfile.lock
32
scripts/
43
_site
54
.sass-cache
@@ -8,3 +7,4 @@ _site
87
vendor
98
.bundle
109
.idea
10+
.tool-versions

0 commit comments

Comments
 (0)