- Umbauplan (PLAN.md) mit 5 Phasen: Gear-Persistenz, Sauerstoff-Logik, Flaschengroessen, NUI-HUD (Tiefe + O2), gesyncte Taschenlampe - fxmanifest auf D4rkst3r/Gitea umgestellt - Qbox-spezifische CI entfernt (Discord-Webhooks, GitHub-Releases, Issue-Projektzuordnung) - laeuft auf Gitea ins Leere bzw. gegen fremde Endpunkte. lint.yml bleibt. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
name: Discord Commit
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
uses: Qbox-project/.github/.github/workflows/discord-commit.yml@main
|
||||
secrets: inherit
|
||||
@@ -1,21 +0,0 @@
|
||||
name: "Discord Releases"
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
github-releases-to-discord:
|
||||
name: Discord Releases Changelog
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Github Releases To Discord
|
||||
uses: SethCohen/github-releases-to-discord@v1.16.2
|
||||
with:
|
||||
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
||||
color: "15852866"
|
||||
username: ${{ github.event.repository.name }}
|
||||
avatar_url: "https://i.imgur.com/Eh1yiLI.png"
|
||||
footer_timestamp: true
|
||||
@@ -1,22 +0,0 @@
|
||||
name: Issues Project Management
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
add-to-project:
|
||||
name: Add issue to project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get App Token
|
||||
uses: actions/create-github-app-token@v1
|
||||
id: generate_token
|
||||
with:
|
||||
app-id: ${{ secrets.APP_ID }}
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
- uses: actions/add-to-project@v0.5.0
|
||||
with:
|
||||
project-url: https://github.com/orgs/Qbox-project/projects/4
|
||||
github-token: ${{ steps.generate_token.outputs.token }}
|
||||
@@ -1,58 +0,0 @@
|
||||
name: "release-action"
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
release-action:
|
||||
name: "Create Release"
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.repository.default_branch }}
|
||||
|
||||
- name: Install ZIP
|
||||
run: sudo apt install zip
|
||||
|
||||
- name: Bundle files
|
||||
run: |
|
||||
rm -rf ./.github ./.vscode ./.git
|
||||
shopt -s extglob
|
||||
mkdir ./${{ github.event.repository.name }}
|
||||
cp -r !(${{ github.event.repository.name }}) ${{ github.event.repository.name }}
|
||||
zip -r ./${{ github.event.repository.name }}.zip ./${{ github.event.repository.name }}
|
||||
|
||||
- name: Get App Token
|
||||
uses: actions/create-github-app-token@v1
|
||||
id: generate_token
|
||||
with:
|
||||
app-id: ${{ secrets.APP_ID }}
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
|
||||
- name: Update CHANGELOG
|
||||
id: changelog
|
||||
uses: requarks/changelog-action@v1
|
||||
continue-on-error: true
|
||||
with:
|
||||
token: ${{ steps.generate_token.outputs.token }}
|
||||
tag: ${{ github.ref_name }}
|
||||
includeInvalidCommits: true
|
||||
useGitmojis: false
|
||||
writeToFile: false
|
||||
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1.14.0
|
||||
with:
|
||||
allowUpdates: true
|
||||
draft: false
|
||||
makeLatest: true
|
||||
name: ${{ github.ref_name }}
|
||||
tag: ${{ github.ref_name }}
|
||||
body: ${{ steps.changelog.outputs.changes }}
|
||||
artifacts: ${{ github.event.repository.name }}.zip
|
||||
token: ${{ steps.generate_token.outputs.token }}
|
||||
@@ -1,42 +0,0 @@
|
||||
name: Create New Release
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
create-release:
|
||||
name: Create New Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get App Token
|
||||
uses: actions/create-github-app-token@v1
|
||||
id: generate_token
|
||||
with:
|
||||
app-id: ${{ secrets.APP_ID }}
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ steps.generate_token.outputs.token }}
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.x
|
||||
|
||||
- name: Bump manifest version
|
||||
run: node .github/actions/bump-manifest-version.js
|
||||
env:
|
||||
TGT_RELEASE_VERSION: ${{ inputs.version }}
|
||||
|
||||
- name: Push manifest change
|
||||
uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
add: fxmanifest.lua
|
||||
push: true
|
||||
message: 'chore: bump manifest version to ${{ inputs.version }}'
|
||||
tag: ${{ inputs.version }}
|
||||
Reference in New Issue
Block a user