Skip to content

Commit

Permalink
Use centralized templates
Browse files Browse the repository at this point in the history
  • Loading branch information
NotRyken committed Jul 18, 2024
1 parent f0623c6 commit b32d93a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 251 deletions.
98 changes: 0 additions & 98 deletions .github/ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

115 changes: 0 additions & 115 deletions .github/labels.yml

This file was deleted.

10 changes: 2 additions & 8 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ name: Sync Labels

on:
push:
paths: ['.github/labels.yml', '.github/workflows/sync-labels.yml']
workflow_dispatch:

permissions:
Expand All @@ -15,14 +14,9 @@ jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/labels.yml
sparse-checkout-cone-mode: false
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 22
- run: npx github-label-sync -a '${{ secrets.GITHUB_TOKEN }}' -l '.github/labels.yml' ${{ github.repository }}
- run: curl https://raw.githubusercontent.com/TerminalMC/.github/HEAD/.github/labels.yml -o ./labels.yml
- run: npx github-label-sync -a '${{ secrets.GITHUB_TOKEN }}' -l 'labels.yml' ${{ github.repository }}

0 comments on commit b32d93a

Please sign in to comment.