-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Severity
Breaking Bug (functionality doesn't work at all)
Priority
High (significantly impacts usability)
Steps to Reproduce
- Set up the repository and ensure the GitHub Actions workflow is configured.
- Trigger the GitHub Actions workflow.
- Observe the step running the command:
addlicense --check -l mit -y 2025 --copyright "Copyright (c) 2025, Steve Morin" .
- See the error:
/home/runner/work/_temp/902f6e03-87f2-45fe-9e86-569525f506b6.sh: line 1: addlicense: command not found
Error: Process completed
Expected Behavior
The workflow should successfully run the addlicense command, checking licenses in the repository, without any errors.
Actual Behavior
The workflow failed with the error:
/home/runner/work/_temp/902f6e03-87f2-45fe-9e86-569525f506b6.sh: line 1: addlicense: command not found
Error: Process completed
This indicates that the addlicense command is not installed or available in the environment during the workflow execution.
System Information
Debug Information
- Date: Sun Apr 27 10:15:22 PDT 2025
- OS: Darwin
- macOS Version: 15.4.1
- Kernel: 24.4.0
- Architecture: arm64
Development Tools
- Python: Python 3.11.7
- uv: uv 0.1.24
- ruff: ruff 0.1.9
- git: git version 2.43.0
- just: just 1.21.0
Screenshots
No response
Logs
/home/runner/work/_temp/902f6e03-87f2-45fe-9e86-569525f506b6.sh: line 1: addlicense: command not found
Error: Process completed
Possible Solution
Add a step in the GitHub Actions workflow to install the addlicense tool before running the command. For example:
- name: Install addlicense run: | go install github.com/google/addlicense@latest export PATH=$PATH:$(go env GOPATH)/bin
Contribution
Yes, I'd be willing to work on a fix
Pre-submission Confirmation
Yes
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working