From f36e8c494c0572e5febef85140d7223e31532ba7 Mon Sep 17 00:00:00 2001 From: finn Date: Sun, 7 Jul 2024 15:30:26 -0700 Subject: [PATCH] remove github integrations --- .github/ISSUE_TEMPLATE/bug_report.md | 27 ---------------- .github/pull_request_template.md | 39 ---------------------- .github/workflows/release.yml | 48 ---------------------------- .github/workflows/test.yml | 36 --------------------- .releaserc.yml | 11 ------- 5 files changed, 161 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/pull_request_template.md delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/test.yml delete mode 100644 .releaserc.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 792611a..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - - -**Reporting a bug** - -First of all, this is **not** a problem reporting forum, only report if you are pretty sure what you are experiencing is a bug with this image, not a configuration issue, for that you can use the [Github discussions section](https://github.com/juanluisbaptiste/docker-postfix/discussions) and we will do our best to help you to figure out what's going on with your setup. - -Also be sure you are using the latest image by doing _docker pull juanluisbaptiste/postfix:latest_. - - -**Please include the contents of:** - - * Your docker-compose.yml file - * Your .env file file - -**Describe the issue** -Please include a description of what you are trying to accomplish and what you are facing when running this container. - -**Expected behavior** -A clear and concise description of what you expected to happen. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index a85fff8..0000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# Creating a Pull Request - -We use github actions to do automatic [semantic versioning](https://github.com/semantic-release/semantic-release), so please use the following nomenclature for the commit message according to the type of change: - -* Prefix with `feat:`, and it will trigger a minor version bump. -* Prefix with `fix:`, and it will trigger a patch version bump. -* Prefix with `BREAKING CHANGE:`, and it will trigger a major version bump. - - -## Description of the change - - - - - -## Motivation and Context - - - -## How Has This Been Tested? - - - -## Types of Changes - -- [ ] Bug fix (non-breaking change which fixes an issue) -- [ ] New feature (non-breaking change which adds functionality) -- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) -- [ ] Documentation (adding or updating documentation) - -## Checklist: - - -- [ ] My change requires a change to the documentation and I have updated the documentation accordingly. -- [ ] My change adds a new configuration variable and I have updated the `.env.example` file accordingly. - -And lastly, many thanks for taking your time to help us improve this project ! diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 298b6b4..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Release - -on: - push: - tags: - - "*" - -jobs: - docker: - runs-on: ubuntu-20.04 - - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - token: ${{ secrets.API_GITHUB_TOKEN }} - - - name: Docker meta - id: docker_meta - uses: crazy-max/ghaction-docker-meta@v2 - with: - images: juanluisbaptiste/postfix - tags: | - type=semver,pattern={{major}} - type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}}.{{minor}}.{{patch}} - type=semver,pattern={{version}} - alpine - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Login to DockerHub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Build and push - uses: docker/build-push-action@v3.3.1 - with: - push: true - platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 - tags: ${{ steps.docker_meta.outputs.tags }} - labels: ${{ steps.docker_meta.outputs.labels }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 5dfe5f5..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Test - -on: - push: - branches: [master, develop] - pull_request: - branches: [master, develop] - -jobs: - build: - runs-on: ubuntu-20.04 - - steps: - - name: Checkout with token - if: github.event_name != 'pull_request' - uses: actions/checkout@v3 - with: - token: ${{ secrets.API_GITHUB_TOKEN }} - - - name: Checkout without token - if: github.event_name == 'pull_request' - uses: actions/checkout@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Docker Build Test - run: docker buildx build --load --tag test:test --file ./Dockerfile ./ - - - name: Version - if: github.event_name != 'pull_request' - uses: cycjimmy/semantic-release-action@v3 - with: - semantic_version: 17.4 - env: - GITHUB_TOKEN: ${{ secrets.API_GITHUB_TOKEN }} diff --git a/.releaserc.yml b/.releaserc.yml deleted file mode 100644 index 65eeeeb..0000000 --- a/.releaserc.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -branches: - - name: master - - name: develop - prerelease: true -plugins: - - "@semantic-release/commit-analyzer" - - "@semantic-release/release-notes-generator" - - - "@semantic-release/github" - - successComment: false - failComment: false