The workflows live in .gitea/workflows. The Docker workflow logs in to the Gitea container registry with REGISTRY_TOKEN (Gitea's job token cannot publish packages yet), publishes gitea.nonameweb.ch/nonameweb/sealshare with a registry build cache, and makes the release on Gitea with the version's section of the changelog as its notes. The README, the website's quick start, both compose files and the image label point to Gitea; the changelog announces the new image name and links Gitea. GiteaOnlyTest keeps GitHub and ghcr.io out. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V9NnLxnPp8vaaurb3Z1MFy
48 lines
935 B
YAML
48 lines
935 B
YAML
name: linter
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
- main
|
|
- master
|
|
- workos
|
|
pull_request:
|
|
branches:
|
|
- develop
|
|
- main
|
|
- master
|
|
- workos
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
quality:
|
|
runs-on: ubuntu-latest
|
|
environment: Testing
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '8.5'
|
|
|
|
- name: Install Dependencies
|
|
run: |
|
|
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
|
npm install
|
|
|
|
- name: Run Pint
|
|
run: composer lint
|
|
|
|
# - name: Commit Changes
|
|
# uses: stefanzweifel/git-auto-commit-action@v7
|
|
# with:
|
|
# commit_message: fix code style
|
|
# commit_options: '--no-verify'
|
|
# file_pattern: |
|
|
# **/*
|
|
# !.gitea/workflows/*
|