Skip to content

Commit 861346d

Browse files
committed
ci(config): Update github config files
1 parent 5831451 commit 861346d

21 files changed

+165
-152
lines changed

.chglog/CHANGELOG.tpl.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ All notable changes to this project will be documented in this file.
1212
{{ range .Unreleased.CommitGroups -}}
1313
### {{ .Title }}
1414
{{ range .Commits -}}
15-
1615
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }}))
1716
{{ end }}
1817
{{ end -}}
@@ -25,7 +24,6 @@ All notable changes to this project will be documented in this file.
2524
{{ range .CommitGroups -}}
2625
### {{ .Title }}
2726
{{ range .Commits -}}
28-
2927
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }}))
3028
{{ end }}
3129
{{ end -}}

.github/FUNDING.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# These are supported funding model platforms
22

3-
patreon: guanguans
4-
custom: https://www.guanguans.cn/images/wechat.jpeg
3+
# github: guanguans
4+
# patreon: guanguans
5+
custom: https://guanguans.github.io/sponsors

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ body:
4545
# attributes:
4646
# label: Laravel Version
4747
# description: What version of Laravel are you running? Please be as specific as possible
48-
# placeholder: 9.0.0
48+
# placeholder: 10.0.0
4949
# validations:
5050
# required: true
5151
- type: dropdown

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ body:
3737
label: Validations
3838
description: Before submitting the issue, please make sure you do the following
3939
options:
40-
- label: Follow our [Code of Conduct](https://github.com/guanguans/notify/blob/master/.github/CODE_OF_CONDUCT.md)
40+
- label: Follow our [Code of Conduct](../blob/main/.github/CODE_OF_CONDUCT.md)
4141
required: true
42-
- label: Read the [Contributing Guide](https://github.com/guanguans/notify/blob/master/.github/CONTRIBUTING.md).
42+
- label: Read the [Contributing Guide](../blob/main/.github/CONTRIBUTING.md).
4343
required: true
4444
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
4545
required: true

.github/dependabot.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1+
# Please see the documentation for all configuration options:
2+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
3+
14
version: 2
25
updates:
3-
- package-ecosystem: github-actions
6+
7+
- package-ecosystem: "github-actions"
48
directory: "/"
59
schedule:
610
interval: daily
711
time: "21:00"
8-
open-pull-requests-limit: 10
12+
labels:
13+
- "dependencies"
914

10-
- package-ecosystem: composer
15+
- package-ecosystem: "composer"
1116
directory: "/"
1217
schedule:
1318
interval: daily
1419
time: "21:00"
15-
open-pull-requests-limit: 10
20+
labels:
21+
- "dependencies"

.github/git-commit-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- The details about what was done in the body of the message.
2020
- Any useful details concerning the change in the body of the message.
2121
- Use a hyphen (-) for the bullet points in the body of the message.
22-
- Use {locale} language to answer..
22+
- Use {locale} language to answer.
2323
- No code blocks.
2424

2525
## Write 1 commit messages that accurately summarizes the changes made in the given `git diff` output, following the best practices listed above and the conventional commit format

.github/stale.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/dependabot-auto-merge.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: dependabot-auto-merge
2-
on: [workflow_dispatch, pull_request_target]
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request_target:
36

47
permissions:
58
pull-requests: write
@@ -8,12 +11,13 @@ permissions:
811
jobs:
912
dependabot:
1013
runs-on: ubuntu-latest
14+
timeout-minutes: 5
1115
if: ${{ github.actor == 'dependabot[bot]' }}
1216
steps:
1317

1418
- name: Dependabot metadata
1519
id: metadata
16-
uses: dependabot/fetch-metadata@v2.5.0
20+
uses: dependabot/fetch-metadata@v2
1721
with:
1822
github-token: "${{ secrets.GITHUB_TOKEN }}"
1923

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: issues-translate
2+
3+
on:
4+
workflow_dispatch:
5+
issue_comment:
6+
types: [created]
7+
issues:
8+
types: [opened]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: usthe/issues-translate-action@v2.7
15+
with:
16+
IS_MODIFY_TITLE: true
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
# https://github.com/actions/labeler
77

88
name: labeler
9-
on: [workflow_dispatch, pull_request]
9+
10+
on:
11+
workflow_dispatch:
12+
pull_request:
1013

1114
jobs:
1215
label:

0 commit comments

Comments
 (0)