Skip to content

Commit 7c6ebfa

Browse files
committed
chore: fix auto release
1 parent 5da8253 commit 7c6ebfa

File tree

5 files changed

+15
-33
lines changed

5 files changed

+15
-33
lines changed

.github/PULL_REQUEST_TEMPLATE.md

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

.github/workflows/nodejs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ 2.x ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ 2.x ]
88

99
jobs:
1010
Job:

.github/workflows/release.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@ name: Release
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ 2.x ]
6+
7+
permissions:
8+
contents: write
9+
deployments: write
10+
issues: write
11+
pull-requests: write
12+
id-token: write
613

714
jobs:
815
release:
9-
name: Node.js
10-
uses: eggjs/github-actions/.github/workflows/node-release.yml@master
16+
name: NPM
17+
uses: node-modules/github-actions/.github/workflows/npm-release.yml@master
1118
secrets:
12-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1319
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Alibaba Group Holding Limited and other contributors.
3+
Copyright (c) 2017 Alibaba Group Holding Limited and the contributors.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# egg-cluster
22

33
[![NPM version][npm-image]][npm-url]
4-
[![CI](https://github.com/eggjs/egg-cluster/actions/workflows/nodejs.yml/badge.svg)](https://github.com/eggjs/egg-cluster/actions/workflows/nodejs.yml)
4+
[![CI](https://github.com/eggjs/cluster/actions/workflows/nodejs.yml/badge.svg)](https://github.com/eggjs/cluster/actions/workflows/nodejs.yml)
55
[![Test coverage][codecov-image]][codecov-url]
66
[![Known Vulnerabilities][snyk-image]][snyk-url]
77
[![npm download][download-image]][download-url]
@@ -73,6 +73,6 @@ EGG_AGENT_CLOSE_TIMEOUT: agent worker boot timeout value
7373

7474
## Contributors
7575

76-
[![Contributors](https://contrib.rocks/image?repo=eggjs/egg-cluster)](https://github.com/eggjs/egg-cluster/graphs/contributors)
76+
[![Contributors](https://contrib.rocks/image?repo=eggjs/cluster)](https://github.com/eggjs/cluster/graphs/contributors)
7777

7878
Made with [contributors-img](https://contrib.rocks).

0 commit comments

Comments
 (0)