Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
4b07edd
Update lincheck user-agent to latest chrome (#3046)
sciencewhiz Jun 4, 2025
93aea70
Fix blockquote on Furo (#3050)
Gold856 Jun 13, 2025
a172b69
update transifex link (#3057)
sciencewhiz Jun 15, 2025
13254f7
Run linkcheck on 2027 (#3058)
sciencewhiz Jun 19, 2025
0d169ed
Update Inspector to 1.12 (#3063)
sciencewhiz Jun 20, 2025
fe5ecba
Use Oxford Comma (#3037)
gerth2 Jun 21, 2025
627e8b8
Update hardware-and-imaging.rst (#3048)
Billfred Jun 21, 2025
2ef5730
Update urllib3, Requests, Jinja2 (#3065)
sciencewhiz Jun 21, 2025
6310dcb
Adding section about pinning dependencies (#3062)
gerth2 Jun 22, 2025
7cb2360
Fix broken links (#3069)
sciencewhiz Jun 23, 2025
d9ecc02
Fix another SparkMax link (#3070)
sciencewhiz Jun 25, 2025
15a4151
Add deprecation notice for RobotBuilder, Shuffleboard (#3064)
sciencewhiz Jun 27, 2025
f763de0
Fix yet another Spark Max link (#3071)
sciencewhiz Jun 28, 2025
e981dae
Fix C++ code snipet for runIntakeCommand(double percentage) (#3072)
w-reynolds Jul 4, 2025
186d6b8
[dashboards] reference QDash over QFRCDashboard (#3074)
crueter Jul 6, 2025
65880f9
Update miktex packages (#3078)
sciencewhiz Jul 13, 2025
736cd53
Update some pneumatic RLIs (#3083)
sciencewhiz Jul 25, 2025
a8bae7d
updated logo to include WPI full name (#3086)
arbessette Aug 21, 2025
9a0e737
Add CAN Mfgrs and Update Device Types (#3088)
Kevin-OConnor Aug 31, 2025
cf94106
Use Python 3.10 in CI (#3090)
sciencewhiz Sep 1, 2025
51371db
Remove latex package dependency (#3089)
sciencewhiz Sep 7, 2025
c336be0
[dashboards] move QDash repo again (#3091)
crueter Sep 7, 2025
b86b377
Fix comment syntax in Python example (#3094)
pedropalaciosjr Sep 29, 2025
9bb4ddc
Update links for new FIRST website (#3096)
Kevin-OConnor Oct 3, 2025
8e4e312
adding training links to xrp index also (#3097)
jasondaming Oct 4, 2025
b455a76
Make redown handle code block options (#3034)
sciencewhiz Oct 7, 2025
3716773
General refresh of driver station best practices (#3105)
stevep001 Oct 7, 2025
e6541c6
Replace PuTTY with OpenSSH in roboRIO SSH documentation (#3107)
jasondaming Oct 8, 2025
9b1020b
FIx styling issue in recommended features section (#3121)
stevep001 Oct 8, 2025
cb182eb
Update joystick validation (#3122)
stevep001 Oct 8, 2025
4bee496
Move credits to level 2 heading. (#3123)
stevep001 Oct 8, 2025
e5ee272
Remove \inspector fix diff (#3140)
Gold856 Oct 11, 2025
1686bcc
Fix Python CameraServer example code errors (#3113)
jasondaming Oct 13, 2025
ef8e461
Update Status Light Reference for CTRE devices (#3114)
jasondaming Oct 13, 2025
6761a1a
Adds Snapdragon as example of ARM CPU. (#3126)
stevep001 Oct 13, 2025
b68bc98
Clarify command scheduler FSM ordering for interrupted commands (#3133)
jasondaming Oct 13, 2025
b902581
Add important note about Python deploy requirements (#3134)
jasondaming Oct 13, 2025
b936908
Document NT4 table-specific listener pattern (#3131)
jasondaming Oct 14, 2025
ffad368
Add more recommendations for USB Ethernet dongles (#3125)
stevep001 Oct 16, 2025
c6f4b49
Add performance warning for VH-109 2.4GHz standalone mode (#3151)
jasondaming Oct 26, 2025
41b4227
Adds driver station examples, note about non-English Windows (#3150)
stevep001 Oct 26, 2025
465aa23
Clarify Enable Desktop Support checkbox for all project types (#3148)
jasondaming Oct 26, 2025
f7bfc04
Improve motor controller code examples for clarity (#3144)
jasondaming Oct 26, 2025
5bee957
Document AddressableLED single object limitation and workarounds (#3136)
jasondaming Oct 26, 2025
50fd4fe
Add vendor documentation links for PCM and PH configuration (#3135)
jasondaming Oct 26, 2025
3a6f6ce
Fix failing spelling check (#3153)
sciencewhiz Oct 26, 2025
03eece5
Add warning banner to Redux Robotics third-party CAN devices (#3154)
jasondaming Oct 27, 2025
c639259
Build multipage HTML zip (#3157)
Gold856 Oct 27, 2025
9d9c16e
Revert "Build multipage HTML zip (#3157)" (#3158)
sciencewhiz Oct 27, 2025
f4c9cb4
Fix downloadable HTML zip being one HTML page (#3159)
Gold856 Oct 28, 2025
f1b9707
Fix the htmlzip root directory name (#3160)
Gold856 Oct 28, 2025
4b4184e
Remove discontinued devices and add new devices for 2026 season (#3152)
jasondaming Nov 15, 2025
840d17c
Update RLIs for 2026 alpha 1 (#3168)
sciencewhiz Nov 17, 2025
ff52c41
Enable beta docs and update for 2026 (#3170)
sciencewhiz Nov 17, 2025
3396f26
Update changelog for 2026 (#3171)
sciencewhiz Nov 17, 2025
f463e8d
Update year specific references (#3172)
sciencewhiz Nov 18, 2025
5c26a4d
Add missing Oxford commas throughout documentation (#3156)
jasondaming Nov 18, 2025
0bc2637
Add REV Servo Hub to Status Light Quick Reference (#3106)
jasondaming Nov 18, 2025
1676521
Fix missing year specific reference (#3175)
nobody5050 Nov 19, 2025
c437900
Allow python 3.13 and update dependencies (#3169)
sciencewhiz Nov 19, 2025
936f790
Update RLIs for 2026 beta 1 (#3177)
sciencewhiz Nov 19, 2025
605201d
Update docs for using processstarter (#3173)
sciencewhiz Nov 19, 2025
ca83b6c
Remove known issues fixed in 2025 (#3174)
sciencewhiz Nov 19, 2025
7423580
Replace deprecated feedforward.calculate(velocity, acceleration) (#3117)
jasondaming Nov 20, 2025
183af80
Put DHCP configs into a table and fix VH-109 gateway (#3180)
rzblue Nov 21, 2025
e6cc719
Update links to beta api docs (#3183)
sciencewhiz Nov 26, 2025
62f4053
Update Rev breakers link (#3184)
sciencewhiz Nov 26, 2025
b9e3f02
Fix MSVC redistributable link (#3185)
sciencewhiz Nov 26, 2025
60eb345
Remove limitation on linkcheck workers (#3187)
sciencewhiz Nov 27, 2025
4da5cf2
Remove presentation plug-in (#3176)
sciencewhiz Nov 27, 2025
f692616
Enable sphinx nitpicky mode (#3191)
sciencewhiz Nov 30, 2025
b50cdf7
Update Game Tools installation for 2026 (#3190)
sciencewhiz Nov 30, 2025
1e39ee5
Fix typo in yearly changelog (#3193)
rzblue Dec 3, 2025
efc11b6
Remove Labview version known issue (#3196)
sciencewhiz Dec 23, 2025
3bd2b9d
Migrate to uv (#3181)
rzblue Dec 24, 2025
64a8173
Add additional exclusions for linkcheck (#3197)
sciencewhiz Dec 24, 2025
e87868b
Update urllib3, fontTools, filelock (#3198)
sciencewhiz Dec 25, 2025
bb69d44
Add instructions for updating a single hidden dep (#3199)
sciencewhiz Dec 28, 2025
6440f5a
Update to non-beta XRP links (#3203)
sciencewhiz Dec 28, 2025
7058fc7
Put 2027 labeler in main (#3206)
sciencewhiz Dec 28, 2025
5b3f08b
Run linkcheck with uv (#3208)
sciencewhiz Dec 30, 2025
1ae6fb0
Update RobotPy pyproject.toml usage for 2026 (#3209)
auscompgeek Jan 2, 2026
ca94093
Hide Beta docs (#3211)
Kevin-OConnor Jan 6, 2026
33128c0
Update downloads for 2026 (#3215)
Kevin-OConnor Jan 7, 2026
39c6f85
Update changelog for 2026.1.1 (#3213)
sciencewhiz Jan 8, 2026
68b2827
Update api docs link to release (#3212)
sciencewhiz Jan 8, 2026
9dcf560
Update RLIs for 2026.1.1 (#3214)
sciencewhiz Jan 8, 2026
c5e43ce
Add 2026 Game Tools (#3216)
Kevin-OConnor Jan 8, 2026
2c41a16
Add notes about current logging capability of PDP 2 and AMPD (#3210)
sciencewhiz Jan 8, 2026
7064507
Add WPILib 2026.1.1 release (#3217)
sciencewhiz Jan 9, 2026
3047e99
Update python supported versions for 2026 (#3220)
sciencewhiz Jan 9, 2026
1c8af5b
Update urllib3 to 2.6.3 (#3218)
sciencewhiz Jan 10, 2026
ff0ac61
Update copyright year (#3222)
sciencewhiz Jan 10, 2026
aea6f53
Add 2026 game data (#3224)
Kevin-OConnor Jan 10, 2026
66fe0c5
Update for 2026 KitBot (#3225)
Kevin-OConnor Jan 10, 2026
3cfdc51
Replace robotpy_extras with components (#3223)
virtuald Jan 10, 2026
06fcafa
game-data: Copy Java/C++ control flow structure to Python (#3228)
auscompgeek Jan 11, 2026
894296c
Update year specific references (#3227)
sciencewhiz Jan 11, 2026
e69c26f
Add known issue for RTNS desktop shortcut broken (#3226)
sciencewhiz Jan 11, 2026
76efd4c
Update creating test drivetrain program RLIs (#3221)
sciencewhiz Jan 11, 2026
c710e6c
Redirect game data link in manual to correct page (#3230)
rzblue Jan 11, 2026
a029717
Update photofinish to fix VI Snippets (#3232)
sciencewhiz Jan 13, 2026
61e1bf5
Update list of roboRIO firmware versions (#3235)
sciencewhiz Jan 13, 2026
05ba9c7
Add note about 2025 docker images (#3236)
sciencewhiz Jan 13, 2026
cf69338
Add 2026 LabVIEW for FRC links (#3234)
sciencewhiz Jan 15, 2026
05c4522
Clarify Mechanism2D logging support in annotations (#3237)
daltzctr Jan 16, 2026
600cea3
Update WPILib Release to 2026.2.1 (#3238)
sciencewhiz Jan 16, 2026
d75fdc7
Update Changelog and known issues for 2026.2.1 (#3239)
sciencewhiz Jan 18, 2026
31404bd
Update RLIs for 2026.2.1 (#3240)
sciencewhiz Jan 18, 2026
e4b6bdc
Refactor controls js generation (#3192)
rzblue Jan 19, 2026
323cfdc
Fix links to CTRE API docs (#3243)
sciencewhiz Feb 2, 2026
88841ca
networktables: Fix Python topic properties type (#3244)
auscompgeek Feb 2, 2026
c7d5f2b
add fire control simulation
Jan 27, 2026
f125165
improve prose
Jan 29, 2026
4ec0ac7
prose adj
Jan 29, 2026
cb81e38
wording
Feb 5, 2026
2546511
add fractal mode
Feb 7, 2026
af21bb5
add newton's method shooting page
Feb 9, 2026
489eb70
add reachability envelope
Feb 9, 2026
c476028
fix newton's method seeding
Feb 19, 2026
79f278b
improve wording
Feb 19, 2026
5282590
wording
Feb 19, 2026
1d541b6
describe initial guess sensitivity
Feb 19, 2026
263c51a
remove no-longer-present singularity mention
Feb 19, 2026
6f70de3
wording
Feb 19, 2026
4dab605
add linear drag adjustment page
Feb 20, 2026
3d5189c
wording
Feb 21, 2026
2e67505
wording
Feb 21, 2026
14c0808
add drag constant determination method
Feb 21, 2026
9c4f943
small wording
Feb 22, 2026
7506077
improve newton's derivation per feedback
Feb 23, 2026
8abdc99
lint
Feb 23, 2026
7754878
more wording
Feb 23, 2026
080ce40
wording
Feb 23, 2026
270460a
improve newton shooting structure
Mar 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'2027':
- base-branch: '2027'
119 changes: 71 additions & 48 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,23 @@ env:

jobs:
build-pdf:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pip'
- name: Install Python Dependencies
run: |
pip install -r source/requirements.txt
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install LaTeX
run: |
sudo apt-fast -y update
sudo apt-fast install -y texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra latexmk texlive-lang-greek texlive-luatex texlive-xetex texlive-fonts-extra dvipng librsvg2-bin
sudo apt-get -y update
sudo apt-get install -y texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra latexmk texlive-lang-greek texlive-luatex texlive-xetex texlive-fonts-extra dvipng librsvg2-bin
- name: Build PDF
run: |
make latexpdf
uv run make latexpdf
- name: Archive PDF
uses: actions/upload-artifact@v4
with:
Expand All @@ -34,25 +32,23 @@ jobs:
if-no-files-found: error

build-html:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pip'
- name: Install Python Dependencies
run: |
pip install -r source/requirements.txt
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install librsvg2
run: |
sudo apt-fast -y update
sudo apt-fast install -y librsvg2-bin
sudo apt-get -y update
sudo apt-get install -y librsvg2-bin
- name: Build HTML
run: |
make html
uv run make html
- name: Archive HTML
uses: actions/upload-artifact@v4
with:
Expand All @@ -61,7 +57,7 @@ jobs:
if-no-files-found: error

build-html-translation:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -75,24 +71,22 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pip'
- name: Install Python Dependencies
run: |
pip install -r frc-docs/source/requirements.txt
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install librsvg2
run: |
sudo apt-fast -y update
sudo apt-fast install -y librsvg2-bin
sudo apt-get -y update
sudo apt-get install -y librsvg2-bin
- name: Build HTML
run: |
sphinx-build -D language=es -b html . _build/html
uv run --project frc-docs sphinx-build -D language=es -b html . _build/html

#link-check-diff:
# # This job is sourced from https://github.com/aiven/devportal/blob/main/.github/workflows/linkcheck-changed-files.yaml
# # It is CC 4.0 I licensed: https://creativecommons.org/licenses/by/4.0/
# # Changes have been made.
# runs-on: ubuntu-22.04
# runs-on: ubuntu-24.04
# steps:
# - uses: actions/checkout@v4
# with:
Expand All @@ -102,7 +96,7 @@ jobs:
# uses: tj-actions/changed-files@v41
# - uses: actions/setup-python@v5
# with:
# python-version: 3.9
# python-version: "3.10"
# - name: Install Dependencies
# run: pip install -r source/requirements.txt
# - name: Run linkcheck on .rst files
Expand All @@ -121,35 +115,39 @@ jobs:
# fi

check-linting:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install Dependencies
run: |
pip install -r source/requirements.txt
uv sync
- name: Check Lint
run: |
make lint
uv run make lint

check-image-size:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install Dependencies
run: |
pip install -r source/requirements.txt
uv sync
- name: Check Image Size
run: |
make sizecheck
uv run make sizecheck

check-spelling:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: misspell
Expand All @@ -158,37 +156,62 @@ jobs:
locale: "US"
reporter: "github-check"
fail_level: "error"
exclude: |
**/*.svg

check-redirects:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Checkout main
run: |
git fetch origin main --depth=1
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install Dependencies
run: |
pip install -r source/requirements.txt
uv sync
- name: Check redirects
run: |
make rediraffecheckdiff
uv run make rediraffecheckdiff
- name: Check redirects format
run: |
[[ $(<source/redirects.txt) == $(git show origin/main:source/redirects.txt)* ]] || { echo "Error: redirects.txt can only be appended to. Lines cannot be modified or deleted."; exit 1; }

check-formatting:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Python Dependencies
run: |
pip install -r source/requirements.txt
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Format
run: |
black --check .
uv run black --check .

check-dependencies:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Check lockfile
run: |
uv lock --check
- name: Export requirements
run: |
uv export --frozen --no-dev --no-editable -o source/requirements.txt
- name: Check for changes
run: |
if ! git diff --exit-code source/requirements.txt; then
echo "Error: source/requirements.txt is out of date. Please run 'uv export --frozen --no-dev --no-editable -o source/requirements.txt' and commit the changes."
exit 1
fi
6 changes: 3 additions & 3 deletions .github/workflows/inspector.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
{
"baseUrl": "https://raw.githubusercontent.com/wpilibsuite/allwpilib/",
"versionScheme": "v\\d{4}\\.\\d\\.\\d(?:-(?:alpha|beta)-\\d)?|[0-9a-f]{40}",
"latestVersion": "v2025.3.2"
"latestVersion": "v2026.2.1"
},
{
"baseUrl": "https://github.com/wpilibsuite/allwpilib/raw/",
"versionScheme": "v\\d{4}\\.\\d\\.\\d(?:-(?:alpha|beta)-\\d)?|[0-9a-f]{40}",
"latestVersion": "v2025.3.2"
"latestVersion": "v2026.2.1"
},
{
"baseUrl": "https://raw.githubusercontent.com/robotpy/examples/",
Expand All @@ -18,7 +18,7 @@
{
"baseUrl": "https://raw.githubusercontent.com/wpilibsuite/vscode-wpilib/",
"versionScheme": "v\\d{4}\\.\\d\\.\\d(?:-(?:alpha|beta)-\\d)?|[0-9a-f]{40}",
"latestVersion": "v2025.3.1"
"latestVersion": "v2026.2.1"
},
{
"baseUrl": "https://raw.githubusercontent.com/wpilibsuite/StandaloneAppSamples/",
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
issues: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
sync-labels: true
26 changes: 26 additions & 0 deletions .github/workflows/link-check-2027.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Link Check 2027

on:
workflow_dispatch:
schedule:
- cron: '0 8 * * *'

env:
GITHUB_TOKEN: ${{ github.token }}

jobs:
check-links-2027:
if: github.repository_owner == 'wpilibsuite'
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: 2027
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Check Links
run: uv run make linkcheck
6 changes: 3 additions & 3 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Dependencies
run: pip install -r source/requirements.txt
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Check Links
run: make linkcheck
run: uv run make linkcheck
41 changes: 4 additions & 37 deletions .github/workflows/update-rli-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,6 @@ jobs:
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

# Run Inspector autofix only on files changed by the PR
- name: Trigger-Diff
uses: shanegenschaw/pull-request-comment-trigger@v3.0.0
id: trigger-diff
with:
trigger: '\inspector fix diff'
prefix_only: true
reaction: rocket
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

# Run Inspector autofix on everything
- name: Trigger-All
uses: shanegenschaw/pull-request-comment-trigger@v3.0.0
Expand All @@ -44,7 +33,7 @@ jobs:

# If this is a comment without a command, exit.
- name: Quick exit
if: ${{ !steps.trigger-all.outputs.triggered && !steps.trigger-check-all.outputs.triggered && !steps.trigger-diff.outputs.triggered }}
if: ${{ !steps.trigger-all.outputs.triggered && !steps.trigger-check-all.outputs.triggered }}
run: exit 1

- name: Checkout [Common]
Expand All @@ -56,46 +45,24 @@ jobs:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
NUMBER: ${{ github.event.issue.number }}

# ---- Common - Run ----
# Remove unchanged files, unless explicitly triggered on everything
- name: Remove unchanged files
if: steps.trigger-all.outputs.triggered == 'false' && steps.trigger-check-all.outputs.triggered == 'false'
run: |
# Fetch upstream
git remote add upstream https://github.com/wpilibsuite/frc-docs.git
git fetch upstream
# Delete unchanged files
git ls-files -- *.rst | xargs rm
git diff upstream/main..HEAD --name-only --diff-filter=M -- *.rst | xargs -I{} git restore {}
# Make sure we still have the .github directory
git restore .github

# Run Inspector
- name: Inspect RLIs
uses: docker://ghcr.io/starlight220/inspector:v1.9
uses: docker://ghcr.io/starlight220/inspector:v1.12
id: inspector
with:
root: ${{ github.workspace }}
env:
INSPECTOR_CONFIG: '.github/workflows/inspector.json'

# If diff-autofix is triggered, restore temporarily deleted files
- name: Restore unchanged files
# No point in restoring if we're not using them
if: steps.trigger-diff.outputs.triggered == 'true'
run: |
git diff --name-only --diff-filter=D | xargs -I{} git restore {}

# If autofix is triggered, commit changes
- name: Commit
if: steps.trigger-all.outputs.triggered == 'true' || steps.trigger-diff.outputs.triggered == 'true'
if: steps.trigger-all.outputs.triggered == 'true'
run: |
# Set credentials
git config user.name github-actions
git config user.email github-actions@github.com
git diff --name-only --diff-filter=Md | xargs -I{} git add {}
# Commit
git commit -m "Autofix RLIs"
git commit -am "Autofix RLIs"
git push

# ---- Common - Post Report ----
Expand Down
Loading