From 13bf2553d5fa3ba9112196cbd7cc9ed548cad0da Mon Sep 17 00:00:00 2001 From: William P Date: Wed, 3 Sep 2025 12:55:05 -0400 Subject: [PATCH] remove github stuff --- .github/CODEOWNERS | 1 - .github/FUNDING.yml | 2 - .github/ISSUE_TEMPLATE/bug.yaml | 23 -------- .github/ISSUE_TEMPLATE/config.yml | 8 --- .github/pull_request_template.md | 19 ------- .github/workflows/ci.yaml | 53 ----------------- .github/workflows/nightly-release.yaml | 40 ------------- .github/workflows/pr-lint.yaml | 19 ------- .github/workflows/release.yaml | 79 -------------------------- 9 files changed, 244 deletions(-) delete mode 100644 .github/CODEOWNERS delete mode 100644 .github/FUNDING.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug.yaml delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/pull_request_template.md delete mode 100644 .github/workflows/ci.yaml delete mode 100644 .github/workflows/nightly-release.yaml delete mode 100644 .github/workflows/pr-lint.yaml delete mode 100644 .github/workflows/release.yaml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index b818b16..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @jef diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 2ca475f..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,2 +0,0 @@ -github: jef -custom: ["https://www.paypal.me/jxf"] diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml deleted file mode 100644 index f684b00..0000000 --- a/.github/ISSUE_TEMPLATE/bug.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: 🐛 Bug Report -description: File a bug report. -title: "[Bug]: " -labels: ["bug"] -body: - - type: markdown - attributes: - value: Thanks for taking the time to fill out this bug report! - - type: textarea - id: what-happened - attributes: - label: What happened? - description: Also tell us, what did you expect to happen? - placeholder: Tell us what you see! - value: "A bug happened!" - validations: - required: true - - type: textarea - id: logs - attributes: - label: Relevant log output - description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. - render: shell diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index d2967ef..0000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: 💡 Have an idea for a new feature? - url: https://github.com/jef/zap2xml/discussions - about: Create a new idea discussion! - - name: 🙇 Need help? - url: https://github.com/jef/zap2xml/discussions - about: Create a new help discussion if it hasn't been asked before! diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index b452334..0000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,19 +0,0 @@ - - - - -### Description - - - - -### Testing - - - - - -### New dependencies - - - diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml deleted file mode 100644 index ab9fcb8..0000000 --- a/.github/workflows/ci.yaml +++ /dev/null @@ -1,53 +0,0 @@ -name: Continuous Integration - -on: - pull_request: - branches: - - main - -jobs: - build-docker: - name: Build Docker - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Build service - run: docker build . - - build-lint-test: - name: Build, Lint, and Test - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version-file: package.json - cache: npm - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - - - name: Lint - run: npm run lint - - - name: Unit tests - run: npm run test:run - - - name: Integration tests - run: | - node dist/index.js --lineupId=USA-DITV751-X --timespan=3 --postalCode=80020 --outputFile=dtv.xml - node dist/index.js --lineupId=USA-OTA80020 --timespan=3 --postalCode=80020 --outputFile=ota.xml - - # Error if they are the same - if cmp -s dtv.xml ota.xml; then - echo "DTV and OTA outputs are the same, which is unexpected." - exit 1 - fi diff --git a/.github/workflows/nightly-release.yaml b/.github/workflows/nightly-release.yaml deleted file mode 100644 index 1b6e97e..0000000 --- a/.github/workflows/nightly-release.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: Nightly Release - -on: - schedule: - - cron: "0 0 * * *" - workflow_dispatch: {} - -jobs: - nightly-release: - name: Nightly Build and Release Docker image (if code changed in 24h) - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Check if code has changed within 24 hours - id: code-change - run: | - if [[ $(git rev-list --after="24 hours" --first-parent HEAD) ]]; then - echo "should-run=true" >> $GITHUB_OUTPUT - else - echo "should-run=false" >> $GITHUB_OUTPUT - fi - - - name: Login into GitHub Container Registry - if: steps.code-change.outputs.should-run == 'true' - run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin - - - name: Build Docker image - if: steps.code-change.outputs.should-run == 'true' - run: | - docker build \ - -t "ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_SHA:0:7}" \ - -t "ghcr.io/${GITHUB_REPOSITORY}:nightly" . - - - name: Release Docker image - if: steps.code-change.outputs.should-run == 'true' - run: | - docker push "ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_SHA:0:7}" - docker push "ghcr.io/${GITHUB_REPOSITORY}:nightly" diff --git a/.github/workflows/pr-lint.yaml b/.github/workflows/pr-lint.yaml deleted file mode 100644 index 3b91362..0000000 --- a/.github/workflows/pr-lint.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: Pull Request Title Linter - -on: - pull_request: - types: - - opened - - edited - - reopened - - synchronize - -jobs: - pr_lint: - name: Lint pull request title - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - name: Lint pull request title - uses: jef/conventional-commits-pr-action@v1 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index 06f8bea..0000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,79 +0,0 @@ -name: Release - -on: - push: - branches: - - main - -jobs: - build-tag-release: - name: Build, tag, and release Docker image - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Setup release please - uses: googleapis/release-please-action@v3 - id: release - with: - release-type: node - changelog-types: | - [ - { - "type": "feat", - "section": "Features", - "hidden": false - }, - { - "type": "fix", - "section": "Bug Fixes", - "hidden": false - }, - { - "type": "chore", - "section": "Miscellaneous", - "hidden": false - }, - { - "type": "ci", - "section": "Continuous Integration", - "hidden": false - }, - { - "type": "docs", - "section": "Documentation", - "hidden": false - }, - { - "type": "refactor", - "section": "Refactoring", - "hidden": false - }, - { - "type": "perf", - "section": "Performance", - "hidden": false - }, - { - "type": "test", - "section": "Tests", - "hidden": false - } - ] - - name: Login into GitHub Container Registry - if: ${{ steps.release.outputs.release_created }} - run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin - - - name: Build Docker image - if: ${{ steps.release.outputs.release_created }} - run: | - docker build \ - -t "ghcr.io/${GITHUB_REPOSITORY}:${{ steps.release.outputs.tag_name }}" \ - -t "ghcr.io/${GITHUB_REPOSITORY}:latest" . - - - name: Release Docker image - if: ${{ steps.release.outputs.release_created }} - run: | - docker push "ghcr.io/${GITHUB_REPOSITORY}:${{ steps.release.outputs.tag_name }}" - docker push "ghcr.io/${GITHUB_REPOSITORY}:latest"