mirror of
https://code.forgejo.org/actions/git-backporting.git
synced 2025-02-22 10:35:43 -05:00
chore: update readme
This commit is contained in:
parent
cfc8e22d48
commit
7f9276f15b
5 changed files with 11 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -1,7 +1,7 @@
|
|||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||
|
||||
name: "Main CI"
|
||||
name: "main ci"
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
|
@ -5,7 +5,13 @@
|
|||
|
||||
<p align="center">
|
||||
<a href="https://github.com/lampajr/backporting">
|
||||
<img alt="CI Checks Status" src="https://github.com/lampajr/backporting/actions/workflows/ci.yml/badge.svg">
|
||||
<img alt="ci checks status" src="https://github.com/lampajr/backporting/actions/workflows/ci.yml/badge.svg">
|
||||
</a>
|
||||
<a href="https://badge.fury.io/js/@lampajr%2Fbper">
|
||||
<img alt="npm version" src="https://badge.fury.io/js/@lampajr%2Fbper.svg">
|
||||
</a>
|
||||
<a href="https://snyk.io/test/github/lampajr/backporting?targetFile=package.json">
|
||||
<img alt="vulnerabilities" src="https://snyk.io/test/github/lampajr/backporting/badge.svg?targetFile=package.json">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
|
1
dist/cli/index.js
vendored
1
dist/cli/index.js
vendored
|
@ -320,6 +320,7 @@ class GitServiceFactory {
|
|||
* @param type git management service type
|
||||
* @param auth authentication, like github token
|
||||
*/
|
||||
// TODO rename to getOrCreate
|
||||
static init(type, auth) {
|
||||
if (GitServiceFactory.instance) {
|
||||
GitServiceFactory.logger.warn("Git service already initialized!");
|
||||
|
|
1
dist/gha/index.js
vendored
1
dist/gha/index.js
vendored
|
@ -311,6 +311,7 @@ class GitServiceFactory {
|
|||
* @param type git management service type
|
||||
* @param auth authentication, like github token
|
||||
*/
|
||||
// TODO rename to getOrCreate
|
||||
static init(type, auth) {
|
||||
if (GitServiceFactory.instance) {
|
||||
GitServiceFactory.logger.warn("Git service already initialized!");
|
||||
|
|
|
@ -25,6 +25,7 @@ export default class GitServiceFactory {
|
|||
* @param type git management service type
|
||||
* @param auth authentication, like github token
|
||||
*/
|
||||
// TODO rename to getOrCreate
|
||||
public static init(type: GitServiceType, auth: string): void {
|
||||
|
||||
if (GitServiceFactory.instance) {
|
||||
|
|
Loading…
Add table
Reference in a new issue