mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-08 08:26:55 +00:00
feat(*): change user
This commit is contained in:
parent
a23ae3cf6e
commit
24c27b2d85
6 changed files with 11 additions and 11 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -60,10 +60,10 @@ jobs:
|
||||||
run: docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN $DOCKER_REGISTRY_URL
|
run: docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN $DOCKER_REGISTRY_URL
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
docker build -t $DOCKER_REGISTRY_URL/wagoid/commitlint-github-action:$VERSION .
|
docker build -t $DOCKER_REGISTRY_URL/aperdomob/commitlint-github-action:$VERSION .
|
||||||
- name: Push to docker registry
|
- name: Push to docker registry
|
||||||
run: |
|
run: |
|
||||||
docker push $DOCKER_REGISTRY_URL/wagoid/commitlint-github-action:$VERSION
|
docker push $DOCKER_REGISTRY_URL/aperdomob/commitlint-github-action:$VERSION
|
||||||
- run: git push --atomic --follow-tags origin master
|
- run: git push --atomic --follow-tags origin master
|
||||||
- name: Create a git tag for the major version
|
- name: Create a git tag for the major version
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: wagoid/commitlint-github-action@v3
|
- uses: aperdomob/commitlint-github-action@v3
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, you can run on other event types such as `on: [push]`. In that case the action will lint the push event's commit(s) instead of linting commits from a pull request. You can also combine `push` and `pull_request` together in the same workflow.
|
Alternatively, you can run on other event types such as `on: [push]`. In that case the action will lint the push event's commit(s) instead of linting commits from a pull request. You can also combine `push` and `pull_request` together in the same workflow.
|
||||||
|
|
@ -138,7 +138,7 @@ jobs:
|
||||||
- run: npm install
|
- run: npm install
|
||||||
# Run the commitlint action, considering its own dependencies and yours as well 🚀
|
# Run the commitlint action, considering its own dependencies and yours as well 🚀
|
||||||
# `github.workspace` is the path to your repository.
|
# `github.workspace` is the path to your repository.
|
||||||
- uses: wagoid/commitlint-github-action@v3
|
- uses: aperdomob/commitlint-github-action@v3
|
||||||
env:
|
env:
|
||||||
NODE_PATH: ${{ github.workspace }}/node_modules
|
NODE_PATH: ${{ github.workspace }}/node_modules
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ outputs:
|
||||||
description: The error and warning messages for each one of the analyzed commits
|
description: The error and warning messages for each one of the analyzed commits
|
||||||
runs:
|
runs:
|
||||||
using: docker
|
using: docker
|
||||||
image: docker://wagoid/commitlint-github-action:3.1.3
|
image: docker://aperdomob/commitlint-github-action:3.1.3
|
||||||
branding:
|
branding:
|
||||||
icon: check-square
|
icon: check-square
|
||||||
color: blue
|
color: blue
|
||||||
|
|
|
||||||
|
|
@ -15,11 +15,11 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/wagoid/commitlint-github-action.git"
|
"url": "git+https://github.com/aperdomob/commitlint-github-action.git"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"homepage": "https://github.com/wagoid/commitlint-github-action",
|
"homepage": "https://github.com/aperdomob/commitlint-github-action",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.2.6",
|
"@actions/core": "^1.2.6",
|
||||||
"@actions/github": "^4.0.0",
|
"@actions/github": "^4.0.0",
|
||||||
|
|
|
||||||
|
|
@ -281,7 +281,7 @@ describe('Commit Linter action', () => {
|
||||||
updatePullRequestEnvVars(cwd, to, { eventName })
|
updatePullRequestEnvVars(cwd, to, { eventName })
|
||||||
td.when(
|
td.when(
|
||||||
listCommits({
|
listCommits({
|
||||||
owner: 'wagoid',
|
owner: 'aperdomob',
|
||||||
repo: 'commitlint-github-action',
|
repo: 'commitlint-github-action',
|
||||||
pull_number: '1',
|
pull_number: '1',
|
||||||
}),
|
}),
|
||||||
|
|
@ -346,7 +346,7 @@ describe('Commit Linter action', () => {
|
||||||
updatePullRequestEnvVars(cwd, to)
|
updatePullRequestEnvVars(cwd, to)
|
||||||
td.when(
|
td.when(
|
||||||
listCommits({
|
listCommits({
|
||||||
owner: 'wagoid',
|
owner: 'aperdomob',
|
||||||
repo: 'commitlint-github-action',
|
repo: 'commitlint-github-action',
|
||||||
pull_number: '1',
|
pull_number: '1',
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ exports.createPullRequestEventPayload = async (cwd) => {
|
||||||
number: '1',
|
number: '1',
|
||||||
repository: {
|
repository: {
|
||||||
owner: {
|
owner: {
|
||||||
login: 'wagoid',
|
login: 'aperdomob',
|
||||||
},
|
},
|
||||||
name: 'commitlint-github-action',
|
name: 'commitlint-github-action',
|
||||||
},
|
},
|
||||||
|
|
@ -61,7 +61,7 @@ exports.createPullRequestEventPayload = async (cwd) => {
|
||||||
|
|
||||||
updateEnvVars({
|
updateEnvVars({
|
||||||
GITHUB_EVENT_PATH: eventPath,
|
GITHUB_EVENT_PATH: eventPath,
|
||||||
GITHUB_REPOSITORY: 'wagoid/commitlint-github-action',
|
GITHUB_REPOSITORY: 'aperdomob/commitlint-github-action',
|
||||||
})
|
})
|
||||||
await writeFile(eventPath, JSON.stringify(payload), 'utf8')
|
await writeFile(eventPath, JSON.stringify(payload), 'utf8')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue