chore: synced local './' with remote 'repo-template/'

This commit is contained in:
qbox-duck[bot]
2024-09-18 20:21:18 +00:00
committed by GitHub
parent 5f44911b61
commit ec52cb22c0
3 changed files with 30 additions and 12 deletions
+9 -1
View File
@@ -1,5 +1,13 @@
name: Lint
on: [push, pull_request_target]
on:
push:
paths:
- '*.lua'
- '.github/workflows/lint.yml'
pull_request_target:
paths:
- '*.lua'
- '.github/workflows/lint.yml'
jobs:
lint:
name: Lint Resource
+20 -6
View File
@@ -34,10 +34,24 @@ jobs:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- name: Create Release
uses: marvinpinto/action-automatic-releases@latest
- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
title: ${{ github.ref_name }}
repo_token: '${{ steps.generate_token.outputs.token }}'
prerelease: false
files: ${{ github.event.repository.name }}.zip
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 -5
View File
@@ -39,8 +39,4 @@ jobs:
add: fxmanifest.lua
push: true
message: 'chore: bump manifest version to ${{ inputs.version }}'
- name: Push Git Tag
run: |
git tag ${{ inputs.version }}
git push origin ${{ inputs.version }}
tag: ${{ inputs.version }}