Skip to content

Commit 44f3d94

Browse files
committed
ci: fix type, split release-drafter
1 parent 1c8a7a5 commit 44f3d94

File tree

5 files changed

+24
-11
lines changed

5 files changed

+24
-11
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "npm" # See documentation for possible values
9-
directory: "/" # Location of package manifests
8+
- package-ecosystem: "npm"
9+
directory: "/"
1010
schedule:
11-
interval: "weekly"
12-
target-branch: "develop"
11+
interval: "monthly"
1312
versioning-strategy: "increase"
1413
commit-message:
15-
prefix: "fix"
14+
prefix: "chore"
1615
prefix-development: "chore"
16+
include: "scope"

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
Thank you for your contirubtion! 👍
3+
Thank you for your contribution! 👍
44
55
-->
66

@@ -25,4 +25,4 @@ Thank you for your contirubtion! 👍
2525

2626
<!-- Please keep this section. -->
2727

28-
Please upvode with reacting as :+1: to express your agreement.
28+
Please upvote with reacting as :+1: to express your agreement.

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Use Node.js
4545
uses: actions/setup-node@v1
4646
with:
47-
node-version: 12
47+
node-version: 14
4848
registry-url: "https://registry.npmjs.org"
4949
- uses: actions/cache@v2
5050
id: yarn-cache
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.PAT }}

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: Release Drafter
22

33
on:
4-
push:
4+
pull_request_target:
55
branches:
66
- main
7-
pull_request:
87
types: [opened, reopened, synchronize]
98

109
jobs:
@@ -13,4 +12,4 @@ jobs:
1312
steps:
1413
- uses: release-drafter/release-drafter@v5
1514
env:
16-
GITHUB_TOKEN: ${{ secrets.PAT }}
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)