mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 16:06:56 +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
|
||||
- name: Build image
|
||||
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
|
||||
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
|
||||
- name: Create a git tag for the major version
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
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.
|
||||
|
|
@ -138,7 +138,7 @@ jobs:
|
|||
- run: npm install
|
||||
# Run the commitlint action, considering its own dependencies and yours as well 🚀
|
||||
# `github.workspace` is the path to your repository.
|
||||
- uses: wagoid/commitlint-github-action@v3
|
||||
- uses: aperdomob/commitlint-github-action@v3
|
||||
env:
|
||||
NODE_PATH: ${{ github.workspace }}/node_modules
|
||||
```
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ outputs:
|
|||
description: The error and warning messages for each one of the analyzed commits
|
||||
runs:
|
||||
using: docker
|
||||
image: docker://wagoid/commitlint-github-action:3.1.3
|
||||
image: docker://aperdomob/commitlint-github-action:3.1.3
|
||||
branding:
|
||||
icon: check-square
|
||||
color: blue
|
||||
|
|
|
|||
|
|
@ -15,11 +15,11 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/wagoid/commitlint-github-action.git"
|
||||
"url": "git+https://github.com/aperdomob/commitlint-github-action.git"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"homepage": "https://github.com/wagoid/commitlint-github-action",
|
||||
"homepage": "https://github.com/aperdomob/commitlint-github-action",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.2.6",
|
||||
"@actions/github": "^4.0.0",
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ describe('Commit Linter action', () => {
|
|||
updatePullRequestEnvVars(cwd, to, { eventName })
|
||||
td.when(
|
||||
listCommits({
|
||||
owner: 'wagoid',
|
||||
owner: 'aperdomob',
|
||||
repo: 'commitlint-github-action',
|
||||
pull_number: '1',
|
||||
}),
|
||||
|
|
@ -346,7 +346,7 @@ describe('Commit Linter action', () => {
|
|||
updatePullRequestEnvVars(cwd, to)
|
||||
td.when(
|
||||
listCommits({
|
||||
owner: 'wagoid',
|
||||
owner: 'aperdomob',
|
||||
repo: 'commitlint-github-action',
|
||||
pull_number: '1',
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ exports.createPullRequestEventPayload = async (cwd) => {
|
|||
number: '1',
|
||||
repository: {
|
||||
owner: {
|
||||
login: 'wagoid',
|
||||
login: 'aperdomob',
|
||||
},
|
||||
name: 'commitlint-github-action',
|
||||
},
|
||||
|
|
@ -61,7 +61,7 @@ exports.createPullRequestEventPayload = async (cwd) => {
|
|||
|
||||
updateEnvVars({
|
||||
GITHUB_EVENT_PATH: eventPath,
|
||||
GITHUB_REPOSITORY: 'wagoid/commitlint-github-action',
|
||||
GITHUB_REPOSITORY: 'aperdomob/commitlint-github-action',
|
||||
})
|
||||
await writeFile(eventPath, JSON.stringify(payload), 'utf8')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue