Browse Source
# Conflicts: # .github/labeler.yml # .github/scripts/details-check-generate-matrix.sh # .github/workflows/action-details-check.yml # .github/workflows/labeler.yml # .github/workflows/update-copyright-years-in-license-file.yml # .prettierignoredevelop
20 changed files with 2401 additions and 302 deletions
File diff suppressed because it is too large
@ -1,58 +0,0 @@ |
|||
name: Issue Labeler |
|||
on: |
|||
issues: |
|||
types: |
|||
- opened |
|||
- edited |
|||
pull_request: |
|||
types: |
|||
- opened |
|||
- edited |
|||
- synchronize |
|||
- reopened |
|||
|
|||
permissions: |
|||
issues: write |
|||
pull-requests: write |
|||
contents: read |
|||
|
|||
env: |
|||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" |
|||
|
|||
jobs: |
|||
issue-labeler: |
|||
if: github.repository_owner == 'GameServerManagers' && github.event_name == 'issues' |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- name: Issue Labeler |
|||
uses: github/[email protected] |
|||
with: |
|||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
|||
configuration-path: .github/labeler.yml |
|||
enable-versioned-regex: 0 |
|||
include-title: 1 |
|||
sync-labels: 1 |
|||
|
|||
pr-labeler: |
|||
if: github.repository_owner == 'GameServerManagers' && github.event_name == 'pull_request' |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- name: PR Labeler |
|||
uses: github/[email protected] |
|||
with: |
|||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
|||
configuration-path: .github/labeler.yml |
|||
enable-versioned-regex: 0 |
|||
include-title: 1 |
|||
include-body: 0 |
|||
sync-labels: 1 |
|||
|
|||
is-sponsor-label: |
|||
if: github.repository_owner == 'GameServerManagers' && github.event_name == 'issues' |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- name: Is Sponsor Label |
|||
if: github.event.action == 'opened' |
|||
uses: JasonEtco/is-sponsor-label-action@v2 |
|||
env: |
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|||
@ -1,27 +0,0 @@ |
|||
name: Potential Duplicates |
|||
on: |
|||
issues: |
|||
types: |
|||
- opened |
|||
|
|||
permissions: |
|||
issues: write |
|||
|
|||
jobs: |
|||
potential-duplicates: |
|||
if: github.repository_owner == 'GameServerManagers' |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- name: Potential Duplicates |
|||
uses: wow-actions/potential-duplicates@v1 |
|||
with: |
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|||
filter: "" |
|||
exclude: "" |
|||
label: potential-duplicate |
|||
state: all |
|||
threshold: 0.8 |
|||
comment: > |
|||
Potential duplicates: {{#issues}} |
|||
- [#{{ number }}] {{ title }} ({{ accuracy }}%) |
|||
{{/issues}} |
|||
@ -1,29 +0,0 @@ |
|||
name: Update copyright year(s) in license file |
|||
on: |
|||
workflow_dispatch: |
|||
schedule: |
|||
- cron: "0 3 1 1 *" # 03:00 AM on January 1 |
|||
|
|||
permissions: |
|||
contents: write |
|||
pull-requests: write |
|||
|
|||
jobs: |
|||
update-license-year: |
|||
if: github.repository_owner == 'GameServerManagers' |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- name: Checkout |
|||
uses: actions/checkout@v6 |
|||
with: |
|||
fetch-depth: 0 |
|||
- name: Action Update License Year |
|||
uses: FantasticFiasco/action-update-license-year@v3 |
|||
with: |
|||
token: ${{ secrets.GITHUB_TOKEN }} |
|||
path: LICENSE.md |
|||
- name: Merge pull request |
|||
env: |
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|||
run: | |
|||
gh pr merge --merge --delete-branch |
|||
@ -1,3 +0,0 @@ |
|||
{ |
|||
"plugins": ["prettier-plugin-sh"] |
|||
} |
|||
Loading…
Reference in new issue