diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 1e89b6c..18af6bb 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -28,8 +28,7 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 20 - uses: actions/setup-node@v3 + - uses: actions/setup-node@v3 with: node-version: 20 cache: yarn @@ -57,5 +56,3 @@ jobs: with: name: dist path: dist/ - -... diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0112702..faa60c2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,5 +42,3 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 - -... diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.yml index fea1066..b6ea793 100644 --- a/.github/workflows/issue-labeler.yml +++ b/.github/workflows/issue-labeler.yml @@ -33,5 +33,3 @@ jobs: with: issue-form: ${{ steps.issue-parser.outputs.jsonString }} token: ${{ secrets.GITHUB_TOKEN }} - -... diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0bec058..2b2a57b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,8 +20,7 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 20.x - uses: actions/setup-node@v3 + - uses: actions/setup-node@v3 with: node-version: 20 cache: yarn @@ -37,5 +36,3 @@ jobs: - name: ESLint run: yarn run lint - -... diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index a81721d..b6bccb8 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -25,5 +25,3 @@ jobs: with: publish_latest_tag: false token: ${{ secrets.GITHUB_TOKEN }} - -... diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index e5e4ad0..a97016d 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -21,5 +21,3 @@ jobs: - uses: release-drafter/release-drafter@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -... diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 356983d..fd41cf9 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -1,6 +1,6 @@ --- -name: Unit tests +name: Tests on: push: @@ -14,20 +14,15 @@ permissions: jobs: test: - name: Unit Tests - Node.js + name: Node.js runs-on: ubuntu-latest - strategy: - matrix: - node-version: [ 18.x, 20.x ] - steps: - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 20 cache: yarn cache-dependency-path: yarn.lock @@ -44,7 +39,4 @@ jobs: run: yarn test - name: Codecov - if: ${{ matrix.node-version == '20.x' }} uses: codecov/codecov-action@v3 - -... diff --git a/README.md b/README.md index 3f7f0d1..3fda1d4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ - +

-

TypeScript Action

+

Issue Commentator

[![GitHub Marketplace][market-status]][market] [![Lint Code Base][linter-status]][linter] [![Unit Tests][test-status]][test] [![CodeQL][codeql-status]][codeql] [![Check dist/][check-dist-status]][check-dist] @@ -10,23 +10,23 @@ -[market]: https://github.com/marketplace/actions/typescript-action -[market-status]: https://img.shields.io/badge/Marketplace-Typescript%20Action-blue.svg?colorA=24292e&colorB=0366d6&style=flat&longCache=true&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAM6wAADOsB5dZE0gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAERSURBVCiRhZG/SsMxFEZPfsVJ61jbxaF0cRQRcRJ9hlYn30IHN/+9iquDCOIsblIrOjqKgy5aKoJQj4O3EEtbPwhJbr6Te28CmdSKeqzeqr0YbfVIrTBKakvtOl5dtTkK+v4HfA9PEyBFCY9AGVgCBLaBp1jPAyfAJ/AAdIEG0dNAiyP7+K1qIfMdonZic6+WJoBJvQlvuwDqcXadUuqPA1NKAlexbRTAIMvMOCjTbMwl1LtI/6KWJ5Q6rT6Ht1MA58AX8Apcqqt5r2qhrgAXQC3CZ6i1+KMd9TRu3MvA3aH/fFPnBodb6oe6HM8+lYHrGdRXW8M9bMZtPXUji69lmf5Cmamq7quNLFZXD9Rq7v0Bpc1o/tp0fisAAAAASUVORK5CYII= +[market]: https://github.com/marketplace/actions/issue-commentator +[market-status]: https://img.shields.io/badge/Marketplace-Issue%20Commentator-blue.svg?colorA=24292e&colorB=0366d6&style=flat&longCache=true&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAM6wAADOsB5dZE0gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAERSURBVCiRhZG/SsMxFEZPfsVJ61jbxaF0cRQRcRJ9hlYn30IHN/+9iquDCOIsblIrOjqKgy5aKoJQj4O3EEtbPwhJbr6Te28CmdSKeqzeqr0YbfVIrTBKakvtOl5dtTkK+v4HfA9PEyBFCY9AGVgCBLaBp1jPAyfAJ/AAdIEG0dNAiyP7+K1qIfMdonZic6+WJoBJvQlvuwDqcXadUuqPA1NKAlexbRTAIMvMOCjTbMwl1LtI/6KWJ5Q6rT6Ht1MA58AX8Apcqqt5r2qhrgAXQC3CZ6i1+KMd9TRu3MvA3aH/fFPnBodb6oe6HM8+lYHrGdRXW8M9bMZtPXUji69lmf5Cmamq7quNLFZXD9Rq7v0Bpc1o/tp0fisAAAAASUVORK5CYII= -[linter]: https://github.com/redhat-plumbers-in-action/typescript-action/actions/workflows/lint.yml -[linter-status]: https://github.com/redhat-plumbers-in-action/typescript-action/actions/workflows/lint.yml/badge.svg +[linter]: https://github.com/redhat-plumbers-in-action/issue-commentator/actions/workflows/lint.yml +[linter-status]: https://github.com/redhat-plumbers-in-action/issue-commentator/actions/workflows/lint.yml/badge.svg -[test]: https://github.com/redhat-plumbers-in-action/typescript-action/actions/workflows/unit-tests.yml -[test-status]: https://github.com/redhat-plumbers-in-action/typescript-action/actions/workflows/unit-tests.yml/badge.svg +[test]: https://github.com/redhat-plumbers-in-action/issue-commentator/actions/workflows/unit-tests.yml +[test-status]: https://github.com/redhat-plumbers-in-action/issue-commentator/actions/workflows/unit-tests.yml/badge.svg -[codeql]: https://github.com/redhat-plumbers-in-action/typescript-action/actions/workflows/codeql-analysis.yml -[codeql-status]: https://github.com/redhat-plumbers-in-action/typescript-action/actions/workflows/codeql-analysis.yml/badge.svg +[codeql]: https://github.com/redhat-plumbers-in-action/issue-commentator/actions/workflows/codeql-analysis.yml +[codeql-status]: https://github.com/redhat-plumbers-in-action/issue-commentator/actions/workflows/codeql-analysis.yml/badge.svg -[check-dist]: https://github.com/redhat-plumbers-in-action/typescript-action/actions/workflows/check-dist.yml -[check-dist-status]: https://github.com/redhat-plumbers-in-action/typescript-action/actions/workflows/check-dist.yml/badge.svg +[check-dist]: https://github.com/redhat-plumbers-in-action/issue-commentator/actions/workflows/check-dist.yml +[check-dist-status]: https://github.com/redhat-plumbers-in-action/issue-commentator/actions/workflows/check-dist.yml/badge.svg -[codecov]: https://codecov.io/gh/redhat-plumbers-in-action/typescript-action -[codecov-status]: https://codecov.io/gh/redhat-plumbers-in-action/typescript-action/branch/main/graph/badge.svg +[codecov]: https://codecov.io/gh/redhat-plumbers-in-action/issue-commentator +[codecov-status]: https://codecov.io/gh/redhat-plumbers-in-action/issue-commentator/branch/main/graph/badge.svg @@ -55,7 +55,7 @@ Action currently accepts the following options: ```yml # ... -- uses: redhat-plumbers-in-action/typescript-action@v1 +- uses: redhat-plumbers-in-action/issue-commentator@v1 with: milliseconds: