From 33a650efda04cc59c5f3efff05a12a995a040688 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Tue, 29 Nov 2022 22:25:51 -0500 Subject: [PATCH] remove github stuff that I didn't set up for my fork --- .github/dependabot.yml | 6 ------ .github/workflows/docker-hub.yml | 33 -------------------------------- .github/workflows/entrypoint.yml | 12 ------------ .github/workflows/lint.yml | 8 -------- .github/workflows/release.yml | 19 ------------------ .github/workflows/test.yml | 9 --------- 6 files changed, 87 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/docker-hub.yml delete mode 100644 .github/workflows/entrypoint.yml delete mode 100644 .github/workflows/lint.yml delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/test.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 203f3c8..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: 2 -updates: -- package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml deleted file mode 100644 index dbcaeee..0000000 --- a/.github/workflows/docker-hub.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Publish on Docker Hub - -on: - push: - branches: - - 'master' - tags: - - 'v*' - -jobs: - docker-hub: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: docker/metadata-action@v4 - id: meta - with: - images: nim65s/matrix-webhook - - uses: docker/setup-qemu-action@v2 - name: Set up QEMU - - uses: docker/setup-buildx-action@v2 - name: Set up Docker Buildx - - uses: docker/login-action@v2 - with: - username: nim65s - password: ${{ secrets.DOCKERHUB_TOKEN }} - - uses: docker/build-push-action@v3 - with: - context: . - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/entrypoint.yml b/.github/workflows/entrypoint.yml deleted file mode 100644 index 7ef76c0..0000000 --- a/.github/workflows/entrypoint.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Test entrypoints -on: [push, pull_request] -jobs: - tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - - run: python -m pip install -U pip - - run: python -m pip install . - - run: matrix-webhook -h - - run: python -m matrix_webhook -h diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index dcc6c91..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: Lints -on: [push, pull_request] -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: psf/black@stable diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 03bec11..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Release on GitHub & PyPI - -on: - push: - tags: - - 'v*' - -jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: pip install -U poetry twine wheel - - run: poetry build - - run: twine upload --non-interactive -u __token__ -p ${{ secrets.PYPI_TOKEN }} dist/* - - run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - - run: gh release create -t "Release ${{ env.TAG}}" -n "$(awk '/## \[${{ env.TAG }}] - /{flag=1;next}/## \[/{flag=0}flag' CHANGELOG.md)" ${{ env.TAG }} dist/* - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 158b2ed..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,9 +0,0 @@ -name: Tests -on: [push, pull_request] -jobs: - tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: docker-compose -f test.yml up --exit-code-from tests - - uses: codecov/codecov-action@v3