From f25d3c27d1f321be79d065c81c2acf69e506d19a Mon Sep 17 00:00:00 2001 From: Matthew Sevey <15232757+MSevey@users.noreply.github.com> Date: Wed, 25 Sep 2024 11:24:11 -0400 Subject: [PATCH] chore: add actionlint to Makefile and semantic release --- .github/workflows/semantic_release.yml | 24 ++++++++++++++++++++++++ Makefile | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/semantic_release.yml diff --git a/.github/workflows/semantic_release.yml b/.github/workflows/semantic_release.yml new file mode 100644 index 0000000..c5f1d5d --- /dev/null +++ b/.github/workflows/semantic_release.yml @@ -0,0 +1,24 @@ +name: Semantic Release + +on: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Configure Semantic Release + # Work around for non npm project + # REF: https://github.com/cycjimmy/semantic-release-action/issues/115#issuecomment-1817264419 + run: echo '{"branches":[],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/github"]}' > .releaserc.json + - name: Create Release + uses: cycjimmy/semantic-release-action@v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + branches: | + ["main"] diff --git a/Makefile b/Makefile index 9c668cc..559b2cb 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,8 @@ lint: vet @hadolint docker/mockserv.Dockerfile @echo "--> Running yamllint" @yamllint --no-warnings . -c .yamllint.yml + @echo "--> Running actionlint" + @actionlint .PHONY: lint