5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-08 00:16:56 +00:00

feat(*): change user

This commit is contained in:
Alejandro Perdomo 2021-05-18 16:11:39 -05:00
parent a23ae3cf6e
commit 24c27b2d85
No known key found for this signature in database
GPG key ID: B4FEE96EEF7E09F0
6 changed files with 11 additions and 11 deletions

View file

@ -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: |

View file

@ -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
``` ```

View file

@ -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

View file

@ -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",

View file

@ -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',
}), }),

View file

@ -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')
} }