Skip to content

Commit 09a470f

Browse files
Initial commit
0 parents  commit 09a470f

20 files changed

Lines changed: 1185 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Bug Report
2+
description: Report a bug in the FiveM Lua script
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Description
10+
description: Describe the bug in as much detail as possible.
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: steps
15+
attributes:
16+
label: Steps to Reproduce
17+
description: How to reproduce the bug step-by-step.
18+
placeholder: |
19+
1. Start the server
20+
2. Run /xyz command
21+
3. See error in console
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: expected
26+
attributes:
27+
label: Expected Behavior
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: logs
32+
attributes:
33+
label: Relevant Logs / Screenshots
34+
description: Attach logs or screenshots if possible.

.github/PULL_REQUEST_TEMPLATE

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Description
2+
<!-- Describe the changes in this PR -->
3+
4+
## Changes
5+
- [ ] Added new feature
6+
- [ ] Fixed a bug
7+
- [ ] Updated documentation
8+
- [ ] Other
9+
10+
## Testing
11+
<!-- Explain how you tested your changes -->

.github/auto_assign.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto Assign
2+
on:
3+
issues:
4+
types: [opened]
5+
pull_request:
6+
types: [opened]
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
steps:
14+
- name: 'Auto-assign issue/PR'
15+
uses: pozil/auto-assign-issue@v1
16+
with:
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
assignees: GamingLuke1337, Feuersturm1204
19+
numOfAssignee: 2

.github/workflows/lint.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Lint
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
checks: write
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}
20+
21+
- name: Run luacheck
22+
uses: iLLeniumStudios/fivem-lua-lint-action@v2
23+
with:
24+
token: ${{ secrets.GITHUB_TOKEN }}
25+
submodules: false
26+
capture: "junit.xml"
27+
args: "-t --formatter JUnit"
28+
29+
- name: Generate Lint Report
30+
if: always()
31+
uses: mikepenz/action-junit-report@v3
32+
with:
33+
report_paths: "./junit.xml"
34+
check_name: "Linting Report"
35+
fail_on_failure: false

.luacheckrc

Lines changed: 365 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)