chore: remove .github workflows in favor of Gitea-only workflows
Philipp/Global-Workflows: Pre-commit Lint (Scoped) / pre-commit (pull_request) Successful in 3m57s
Test / Run Tests (push) Successful in 6m5s
Test / Run Tests (pull_request) Successful in 9m19s

This commit is contained in:
2026-09-04 22:30:29 +02:00
parent 00e2484118
commit 08be5fe521
-63
View File
@@ -1,63 +0,0 @@
name: Recompile dist/ on Renovate PR
on:
pull_request:
types: [opened, synchronize]
paths:
- package.json
- pnpm-lock.yaml
- index.js
- monitor.js
permissions:
contents: write
jobs:
recompile:
# 1. Only run for Renovate branches
# 2. Never run if the last commit was already our automated build commit
if: |
(github.actor == 'renovate[bot]' || contains(github.head_ref, 'renovate/')) &&
!startsWith(github.event.pull_request.head.label, 'recompile-dist') &&
!contains(github.event.head_commit.message, '[skip compile]')
runs-on: ubuntu-latest
steps:
- name: Generate App Token
id: app-token
if: ${{ env.RECOMPILE_APP_ID != '' }}
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.RECOMPILE_APP_ID }}
private-key: ${{ secrets.RECOMPILE_APP_PRIVATE_KEY }}
env:
RECOMPILE_APP_ID: ${{ secrets.RECOMPILE_APP_ID }}
- name: Checkout PR Branch
uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token || github.token }}
ref: ${{ github.head_ref }}
fetch-depth: 0
- uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Clean Install (No Lifecycle Scripts)
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Build
run: pnpm run build
- name: Commit dist/
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_user_name: github-actions[bot]
commit_user_email: github-actions[bot]@users.noreply.github.com
commit_message: 'chore: compile action bundle [skip compile]'
file_pattern: dist/*