Skip to content

Commit

Permalink
feat: add annotation to compare updating
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Feb 3, 2023
1 parent fa74539 commit c753834
Show file tree
Hide file tree
Showing 8 changed files with 2,595 additions and 2,296 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
contributors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@vv
- name: Install
run: |
yarn
Expand Down Expand Up @@ -110,12 +110,12 @@ jobs:
height="{{#sum}} {{ contributorsHeight }} + {{ botsHeight }} + 32 + 32 {{/sum}}"
>
<style>.contributor-link { cursor: pointer; }</style>
<text x="5" y="8" text-anchor="start" alignment-baseline="before-edge" font-size="24">Contributors</text>
<g transform="translate(0, 32)">
{{{ contributors }}}
</g>
<text x="5" y="{{#sum}} {{ contributorsHeight }} + 32 + 8 {{/sum}}" text-anchor="start" alignment-baseline="before-edge" font-size="24">Bots</text>
<g transform="translate(0, {{#sum}} {{ contributorsHeight }} + 32 + 32 {{/sum}})">
{{{ bots }}}
Expand All @@ -141,17 +141,17 @@ jobs:
height="{{#sum}} {{ contributorsHeight }} + {{ botsHeight }} + {{ collaboratorsHeight }} + 32 + 32 + 32 {{/sum}}"
>
<style>.contributor-link { cursor: pointer; }</style>
<text x="5" y="5" text-anchor="start" alignment-baseline="before-edge" font-size="24">Contributors</text>
<g transform="translate(0, 32)">
{{{ contributors }}}
</g>
<text x="5" y="{{#sum}} {{ contributorsHeight }} + 32 + 8 {{/sum}}" text-anchor="start" alignment-baseline="before-edge" font-size="24">Bots</text>
<g transform="translate(0, {{#sum}} {{ contributorsHeight }} + 32 + 32 {{/sum}})">
{{{ bots }}}
</g>
<text x="5" y="{{#sum}} {{ contributorsHeight }} + {{ botsHeight }} + 32 + 32 + 8 {{/sum}}" text-anchor="start" alignment-baseline="before-edge" font-size="24">Collaborators</text>
<g transform="translate(0, {{#sum}} {{ contributorsHeight }} + {{ botsHeight }} + 32 + 32 + 32 {{/sum}})">
{{{ collaborators }}}
Expand Down
23 changes: 11 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ⤵️ Checkout
uses: actions/checkout@v2

uses: actions/checkout@v3
with:
persist-credentials: false
- name: 🚧 Install
run: yarn install

- name: 📦 Build
run: yarn build

- name: 🔑 Generate Token
uses: wow-actions/use-app-token@v1
uses: wow-actions/use-app-token@v2
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
env_name: bot_token

- name: 📦 Release
uses: wow-actions/release-github-action@v1
with:
GITHUB_TOKEN: ${{ env.bot_token }}
GIT_COMMITTER_NAME: wow-actions-bot
GIT_COMMITTER_EMAIL: [email protected]
uses: wow-actions/release-github-action@v2
env:
GITHUB_TOKEN: ${{ env.BOT_TOKEN }}
GIT_AUTHOR_NAME: ${{ env.BOT_NAME }}[bot]
GIT_AUTHOR_EMAIL: ${{ env.BOT_NAME }}[bot]@users.noreply.github.com
GIT_COMMITTER_NAME: ${{ env.BOT_NAME }}[bot]
GIT_COMMITTER_EMAIL: ${{ env.BOT_NAME }}[bot]@users.noreply.github.com
4 changes: 2 additions & 2 deletions examples/bots.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 12 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,53 +22,38 @@
"eslint --fix"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"license": "MIT",
"author": {
"name": "bubkoo",
"email": "[email protected]"
},
"contributors": [],
"repository": "https://github.com/wow-actions/contributors-list",
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^5.0.0",
"html-minifier": "^4.0.0",
"image-size": "^0.9.1",
"image-size": "^1.0.2",
"mustache": "^4.0.1",
"node-fetch": "^2.6.1",
"sharp": "^0.26.1"
"node-fetch": "^3.3.0",
"sharp": "^0.31.3"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@bubkoo/commitlint-config": "^1.0.1",
"@bubkoo/eslint-config": "^1.4.1",
"@bubkoo/tsconfig": "^1.1.0",
"@types/html-minifier": "^4.0.0",
"@types/mustache": "^4.0.1",
"@types/node": "^14.0.27",
"@types/node": "^18.11.18",
"@types/node-fetch": "^2.5.7",
"@types/sharp": "^0.26.0",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"@vercel/ncc": "^0.31.1",
"devmoji": "^2.3.0",
"eslint": "^7.22.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"husky": "^7.0.2",
"@types/sharp": "^0.31.1",
"@vercel/ncc": "^0.36.1",
"eslint": "^8.33.0",
"husky": "^8.0.3",
"is-ci": "^3.0.0",
"lint-staged": "^11.1.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"rimraf": "^4.1.2",
"typescript": "^4.4.3"
}
}
126 changes: 0 additions & 126 deletions src/action.ts

This file was deleted.

Loading

0 comments on commit c753834

Please sign in to comment.