Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

File renamed without changes.
14 changes: 14 additions & 0 deletions .github/issue_template/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Bug Report
about: Report something that's broken
labels: Bug
---

**Describe the bug**
A clear and concise description of what the bug is.

**How to reproduce**
Steps to cause the bug or a link to a minimal reproduction.

**Environment**
PHP version, OS, and Server (Apache/NGINX/CLI).
File renamed without changes.
11 changes: 11 additions & 0 deletions .github/issue_template/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Feature Request
about: Suggest an idea for this project
labels: Enhancement
---

**The Idea**
What is the problem or new feature you are suggesting?

**How it should work**
A clear description of how you imagine this feature working in Arcane.
9 changes: 9 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Please ensure this Pull Request is targeting the `develop` branch, not `master`.

---

**What does this PR do?**
A brief description of the changes, bug fixes, or new features.

**Why is this needed?**
Link to any relevant issues or explain the reasoning behind the change.
22 changes: 22 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Linter PHP

on:
push:
branches: [ master, develop ]
pull_request:
branches: [ develop ]

jobs:
linter:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'

- name: Check PHP Syntax
run: php -l index.php
39 changes: 39 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Auto Release

on:
pull_request:
branches:
- master
types:
- closed

jobs:
release:
if: github.event.pull_request.merged == true && github.event.pull_request.head.ref == 'develop'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Extract Version
id: get_version
run: |
VERSION=$(grep -oE 'Arcane [0-9]+\.[0-9]+\.[0-9]+' index.php | awk '{print $2}')
if [ -z "$VERSION" ]; then
echo "Error: Version could not be extracted from index.php."
exit 1
fi
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "tag=v$VERSION" >> $GITHUB_OUTPUT

- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ steps.get_version.outputs.tag }} \
--title "${{ steps.get_version.outputs.version }}" \
--generate-notes \
--target ${{ github.event.pull_request.base.ref }} \
index.php
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
*
!.github/
!.github/**
!.gitignore
!composer.json
!LICENSE.md
!README.md
!index.php
!composer.json
!index.php
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ location / {
try_files $uri $uri/ /index.php?$query_string;
}
```
- [Arcane Helpers](https://github.com/MEDIA76/arcane-helpers) is a collection of drop-in files for common tasks (Markdown parsing, OAuth, database access).
- [Creating an issue](https://github.com/MEDIA76/arcane/issues) on GitHub for reporting bugs is always appreciated.
- [Arcane Helpers](https://github.com/capachow/arcane-helpers) is a collection of drop-in files for common tasks (Markdown parsing, OAuth, database access).
- [Creating an issue](https://github.com/capachow/arcane/issues) on GitHub for reporting bugs is always appreciated.

*License*: Copyright 2017-2026 [Joshua Britt](https://github.com/capachow) under the [MIT](LICENSE.md).

Expand Down
Loading