Skip to content

Commit 6530335

Browse files
authored
Merge pull request #47 from Unpackerr/deps/docusaurus-actions-pins
Update Docusaurus, Yarn deps, and SHA-pin GitHub Actions
2 parents 525f017 + fec70b9 commit 6530335

16 files changed

Lines changed: 1266 additions & 605 deletions

‎.github/renovate.json‎

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:base"
4+
"config:base",
5+
"default:automergeDigest",
6+
"helpers:pinGitHubActionDigestsToSemver"
7+
],
8+
"minimumReleaseAge": "7 days",
9+
"internalChecksFilter": "strict",
10+
"packageRules": [
11+
{
12+
"description": "Automerge GitHub Actions updates, including majors, when checks pass",
13+
"matchManagers": ["github-actions"],
14+
"automerge": true
15+
},
16+
{
17+
"description": "Automerge non-major npm/yarn updates when checks pass",
18+
"matchManagers": ["npm"],
19+
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
20+
"automerge": true
21+
}
522
]
623
}

‎.github/workflows/build.yml‎

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,24 @@ jobs:
66
build:
77
name: Build Content
88
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
911
steps:
10-
- uses: actions/checkout@v6
11-
- uses: codespell-project/actions-codespell@v2
12+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
13+
- uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2
1214
with:
1315
check_hidden: true
1416
path: docs
15-
- name: Run Markdown Lint
16-
uses: actionshub/markdownlint@main
17+
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
1718
with:
18-
path: docs
19-
- uses: actions/setup-go@v6
20-
- uses: actions/setup-node@v6
19+
go-version: stable
20+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2121
with:
22-
node-version: 24.x
22+
node-version: 24
2323
cache: yarn
2424
- name: Install Dependencies
2525
run: yarn install --frozen-lockfile
26+
- name: Lint Markdown
27+
run: yarn lint
2628
- name: Build website
2729
run: yarn build

‎.github/workflows/deploy.yml‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,20 @@ jobs:
1717
deploy:
1818
name: Deploy to GitHub Pages
1919
runs-on: ubuntu-latest
20+
permissions:
21+
contents: write
22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.ref }}
2024
steps:
21-
- uses: actions/checkout@v6
25+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2226
with:
2327
ref: ${{ inputs.branch || 'main' }}
24-
- uses: actions/setup-node@v6
28+
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
2529
with:
26-
node-version: latest
30+
go-version: stable
31+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
32+
with:
33+
node-version: 24
2734
cache: yarn
2835
- name: Install Dependencies
2936
run: yarn install --frozen-lockfile
@@ -35,8 +42,9 @@ jobs:
3542
# Popular action to deploy to GitHub Pages:
3643
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
3744
- name: Deploy to GitHub Pages
38-
uses: peaceiris/actions-gh-pages@v4
45+
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
3946
with:
4047
github_token: ${{ secrets.GITHUB_TOKEN }}
4148
# Build output to publish to the `gh-pages` branch:
4249
publish_dir: build
50+
cname: unpackerr.zip

‎.markdownlint-cli2.jsonc‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"config": {
3+
"MD001": false,
4+
"MD002": false,
5+
"MD007": { "indent": 2 },
6+
"MD013": { "line_length": 110, "tables": false, "code_blocks": true },
7+
"MD025": false,
8+
"MD026": false,
9+
"MD030": false,
10+
"MD031": false,
11+
"MD033": false,
12+
"MD034": false,
13+
"MD037": false,
14+
"MD041": false,
15+
"MD046": false,
16+
"MD049": false,
17+
"MD050": false
18+
},
19+
"ignores": [
20+
"docs/install/generated/**",
21+
"node_modules/**",
22+
"build/**"
23+
]
24+
}

‎.mdlrc‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎.style‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎LICENSE.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
```
22
MIT LICENSE.
33
Copyright (c) 2018-2022 David Newhall II
4-
Copyright (c) 2023-2024 Go Lift - Building Strong Go Tools
4+
Copyright (c) 2023-2026 Go Lift Technologies, LLC
55
66
Permission is hereby granted, free of charge, to any person obtaining
77
a copy of this software and associated documentation files (the
@@ -21,4 +21,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
2121
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
2222
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
2323
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24-
```
24+
```

‎README.md‎

Lines changed: 6 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,13 @@
11
# unpackerr.zip
22

3-
[This repository](https://github.com/Unpackerr/unpackerr.github.io)
4-
contains the source and files that create [https://unpackerr.zip](https://unpackerr.zip).
5-
6-
## Website
7-
8-
This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.
9-
10-
## Installation
11-
12-
Clone the repo, then cd into the new folder and run this first.
3+
Source for [https://unpackerr.zip](https://unpackerr.zip). Built with [Docusaurus 3](https://docusaurus.io/).
134

145
```console
156
yarn install
7+
yarn start # local dev server
8+
yarn build # production build
9+
yarn lint # markdownlint-cli2 (same as CI)
10+
codespell docs # brew install codespell
1611
```
1712

18-
## Local Development
19-
20-
**Use this when developing locally!**
21-
22-
This command starts a local development server and open up a browser window.
23-
Most changes are reflected live without having to restart the server.
24-
25-
```console
26-
yarn start
27-
```
28-
29-
## Build
30-
31-
This command generates static content into the `build` directory and can be served using apache or nginx, etc.
32-
33-
```console
34-
yarn build
35-
```
36-
37-
## Deployment
38-
39-
Github Actions automatically builds the `main` branch and pushes it to the `gh-pages` branch.
40-
41-
## Contributing
42-
43-
1. Fork the repo.
44-
1. Make your changes; test them with `yarn`.
45-
1. Test `docs/` with `mdl docs` and `codespell docs`.
46-
1. Make a pull request.
47-
1. Bug me on [Discord](https://golift.io/discord) if I don't respond in a timely manner.
48-
49-
## MDL Linter
50-
51-
To run the linter locally, I had to do this on my Mac, but `bundler` may work too.
52-
GH actions runs a newer version than 0.11.0, but this worked for me for _something_.
53-
54-
```shell
55-
brew install rbenv ruby-build
56-
rbenv install 3.2.2
57-
eval "$(rbenv init -)"
58-
rbenv shell 3.2.2
59-
gem install --no-document mdl
60-
mdl -g docs
61-
```
62-
63-
Seriously, run mdl before committing.
64-
65-
## Codespell Linter
66-
67-
```shell
68-
brew install codespell
69-
```
13+
Push to `main` deploys to GitHub Pages.

‎babel.config.js‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎docs/install/configuration.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ UN_FOLDER_1_PATH=/data/downloads/games/
8181
Anything that [has a header](https://github.com/Unpackerr/unpackerr/blob/main/examples/unpackerr.conf.example#L99)
8282
with double brackets `[[..]]` can be repeated as many times as you'd like.
8383

84-
<!-- The Global content is generated from here: https://github.com/Unpackerr/unpackerr/tree/main/init/config -->
84+
{/* The Global content is generated from here: https://github.com/Unpackerr/unpackerr/tree/main/init/config */}
8585
<Global />
8686

8787
## Secrets and Passwords
@@ -116,7 +116,7 @@ Then store the API key (and only the API key) in `/etc/secrets/radarr.txt`.
116116
_<font color="gray">This feature was added in Unpackerr v0.14.0.</font>_
117117
:::
118118

119-
<!-- This content is generated from here: https://github.com/Unpackerr/unpackerr/tree/main/init/config -->
119+
{/* This content is generated from here: https://github.com/Unpackerr/unpackerr/tree/main/init/config */}
120120
<Generated/>
121121

122122
## Event IDs

0 commit comments

Comments
 (0)