From bdde48d6110952cc6cd22e430309218943985fd5 Mon Sep 17 00:00:00 2001 From: Yusuf Ali Date: Sun, 4 Jan 2026 16:06:43 +0000 Subject: [PATCH] ci: remove publish --- .github/workflows/publish.yml | 60 ----------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 35c3ece..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: 'Publish' -on: - workflow_dispatch: - -permissions: - contents: write - -jobs: - version: - runs-on: ubuntu-latest - - steps: - - name: Check out code - uses: actions/checkout@v4 - with: - fetch-depth: 100 - fetch-tags: true - - - name: Use Node.js - uses: actions/setup-node@v4 - with: - node-version: 'latest' - - - name: Install lint - shell: bash - run: | - npm install -g @commitlint/cli @commitlint/config-conventional - if [ ! -f "commitlint.config.js" ]; then - echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js - fi - - - name: Lint Commit Message - if: github.event_name == 'push' - shell: bash - run: commitlint --from=HEAD~2 --verbose - - - name: Lint Pull Request - if: github.event_name == 'pull_request' - shell: bash - run: commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose - - - name: "Get Previous tag" - id: previoustagold - uses: "WyriHaximus/github-action-get-previous-tag@v1" - - - name: Conventional Changelog Action - id: changelog - if: github.ref_name == 'main' - uses: TriPSs/conventional-changelog-action@v6 - with: - github-token: ${{ github.token }} - git-url: ${{ github.server_url != 'https://github.com' && 'git.yusufali.ca' || 'github.com' }} - tag-prefix: "" - output-file: false - skip-version-file: true - skip-commit: true - skip-ci: false - skip-tag: ${{ github.ref_name != 'main' }} - fallback-version: ${{ steps.previoustagold.outputs.tag }} -