Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
25 changes: 25 additions & 0 deletions .github/workflows/cla.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Check CLA

on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]

jobs:
cla:
name: Check CLA
runs-on: ubuntu-latest
steps:
- name: CLA Assistant
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: secondlife-3p/contributor-assistant@v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.SHARED_CLA_TOKEN }}
with:
branch: main
path-to-document: https://github.com/secondlife/cla/blob/main/CLA.md
path-to-signatures: signatures.json
remote-organization-name: secondlife
remote-repository-name: cla-signatures
17 changes: 17 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]
tags: [v*]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: pre-commit/action@v3.0.1
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.egg-info/
*.pyc
.ruff_cache/
.venv/
__pycache__/
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.1
hooks:
- id: ruff-check
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Thank you for your interest in contributing to the LSL definitions repository! T

### ✅ Welcome Contributions
- **Documentation improvements** - clearer explanations, better examples
- **Tooltip enhancements** - more helpful descriptions for functions and parameters
- **Tooltip enhancements** - more helpful descriptions for functions and parameters
- **Error corrections** - fixing typos, incorrect parameter types, or outdated information
- **Formatting improvements** - better YAML structure or consistency

Expand All @@ -27,12 +27,12 @@ Thank you for your interest in contributing to the LSL definitions repository! T
## Pull Request Guidelines

- **Be specific** in your PR description about what you're improving
- **Keep changes focused** - one improvement per PR when possible
- **Keep changes focused** - one improvement per PR when possible
- **Maintain consistency** with existing formatting and style
- **Include examples** if you're improving documentation

## Questions or Suggestions?

For questions about LSL functionality or feature requests, please use official Second Life channels rather than this repository.

For questions about contributing to this repository, feel free to open an issue for discussion.
For questions about contributing to this repository, feel free to open an issue for discussion.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ The definitions are stored in YAML format with structured data describing all as

We welcome contributions that improve documentation, fix errors, and enhance tooltips. Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.

**Note:** This repository is not the place to request new LSL functions or language features. Such requests should be directed through official Second Life channels.
**Note:** This repository is not the place to request new LSL functions or language features. Such requests should be directed through official Second Life channels.
Loading