From 24c27b2d85353abd5fe573037171ab07aae4b028 Mon Sep 17 00:00:00 2001 From: Alejandro Perdomo Date: Tue, 18 May 2021 16:11:39 -0500 Subject: [PATCH] feat(*): change user --- .github/workflows/ci.yml | 4 ++-- README.md | 4 ++-- action.yml | 2 +- package.json | 4 ++-- src/action.test.js | 4 ++-- src/testUtils.js | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04a631e..4e20b4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | diff --git a/README.md b/README.md index 16c8a2b..b9a6190 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/action.yml b/action.yml index 928a80a..94e19ca 100644 --- a/action.yml +++ b/action.yml @@ -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 diff --git a/package.json b/package.json index a85af2e..2c2f9e5 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/action.test.js b/src/action.test.js index 86a876d..01daf20 100644 --- a/src/action.test.js +++ b/src/action.test.js @@ -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', }), diff --git a/src/testUtils.js b/src/testUtils.js index 5403370..5d2d74c 100644 --- a/src/testUtils.js +++ b/src/testUtils.js @@ -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') }