From c039a740a59be3443c93789f79b30171fe2e7c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20Burghardt?= Date: Tue, 24 May 2022 11:44:46 +0200 Subject: [PATCH 1/4] Add linter workflow --- .github/workflows/linter.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/linter.yaml diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml new file mode 100644 index 0000000..b14d07d --- /dev/null +++ b/.github/workflows/linter.yaml @@ -0,0 +1,10 @@ +--- +name: Lint Code Base + +on: + pull_request: + branches: [main] + +jobs: + call-lint-workflow: + uses: "riege/code-quality/.github/workflows/super-linter.yml@main" From f6d3ea1f7eecf01b504c7d2d4e64335590f78ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20Burghardt?= Date: Tue, 24 May 2022 11:47:16 +0200 Subject: [PATCH 2/4] Renovate do not run ci --- renovate.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index f45d8f1..bc3e872 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,6 @@ { "extends": [ "config:base" - ] + ], + "commitBody": "[skip ci]" } From bff7678ba3757e05ab5fbb8c923197aadcec62de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20Burghardt?= Date: Tue, 24 May 2022 11:48:29 +0200 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=8E=A8=20=20Workflow=20code=20cleanup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f1ed8dd..938afac 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,12 +2,14 @@ name: Build and Push Container on: push: - branches: [main] + branches: + - main pull_request: - branches: [main] + branches: + - main env: - IMAGE_BASENAME: 'riege/go-netbox-proxy' + IMAGE_BASENAME: "riege/go-netbox-proxy" jobs: build: @@ -18,7 +20,6 @@ jobs: - uses: actions/setup-go@v3 - # Required for docker/build-push-action - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 @@ -35,7 +36,7 @@ jobs: uses: docker/metadata-action@v4 with: images: ${{ secrets.GHCR_LOGIN_SERVER }}/${{ env.IMAGE_BASENAME }} - sep-tags: ',' + sep-tags: "," flavor: | latest=false tags: | From 36326d9ee514f4decae34e84bd20b08a82a4a37b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20Burghardt?= Date: Tue, 24 May 2022 11:49:03 +0200 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=92=9A=20Do=20not=20build=20on=20mark?= =?UTF-8?q?down=20changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 938afac..b10a0b8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,9 +4,13 @@ on: push: branches: - main + paths-ignore: + - "**/*.md" pull_request: branches: - main + paths-ignore: + - "**/*.md" env: IMAGE_BASENAME: "riege/go-netbox-proxy"