From d0b3619c011de74f786b53ed77b5a633db95e195 Mon Sep 17 00:00:00 2001 From: abhisheksr01 Date: Sat, 4 Jan 2025 23:15:40 +0000 Subject: [PATCH 1/2] ci: use cocogitto-action for conventional commit checks --- .github/workflows/app-pipeline-pr.yml | 12 +++++++++--- .github/workflows/app-pipeline.yml | 12 +++++++++--- .github/workflows/infra-pipeline.yml | 12 +++++++++--- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/.github/workflows/app-pipeline-pr.yml b/.github/workflows/app-pipeline-pr.yml index 22cbf56..1216329 100644 --- a/.github/workflows/app-pipeline-pr.yml +++ b/.github/workflows/app-pipeline-pr.yml @@ -12,13 +12,19 @@ permissions: contents: read jobs: - check-conventional-commits: - uses: cocogitto/cocogitto-action@v3 + conventional-commit-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Conventional commit check + uses: cocogitto/cocogitto-action@v3 linting-pr: runs-on: ubuntu-latest needs: - - check-conventional-commits + - conventional-commit-check steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/app-pipeline.yml b/.github/workflows/app-pipeline.yml index a3390f2..2a8c1cf 100644 --- a/.github/workflows/app-pipeline.yml +++ b/.github/workflows/app-pipeline.yml @@ -20,8 +20,14 @@ permissions: id-token: write # This is required for requesting the JWT jobs: - check-conventional-commits: - uses: cocogitto/cocogitto-action@v3 + conventional-commit-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Conventional commit check + uses: cocogitto/cocogitto-action@v3 linting: runs-on: ubuntu-latest @@ -44,7 +50,7 @@ jobs: runs-on: ubuntu-latest needs: - linting - - check-conventional-commits + - conventional-commit-check steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/infra-pipeline.yml b/.github/workflows/infra-pipeline.yml index 49296fe..b71a4df 100644 --- a/.github/workflows/infra-pipeline.yml +++ b/.github/workflows/infra-pipeline.yml @@ -16,13 +16,19 @@ permissions: id-token: write # This is required for requesting the JWT jobs: - check-conventional-commits: - uses: cocogitto/cocogitto-action@v3 + conventional-commit-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Conventional commit check + uses: cocogitto/cocogitto-action@v3 run-unit-tests: runs-on: ubuntu-latest needs: - - check-conventional-commits + - conventional-commit-check defaults: run: working-directory: infrastructure/bootstrap From eb28523ee9d6927cfe57de8cffd02cbff7190064 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 4 Jan 2025 23:18:00 +0000 Subject: [PATCH 2/2] chore(deps): bump armakuni/github-actions from 0.14.10 to 0.19.4 Bumps [armakuni/github-actions](https://github.com/armakuni/github-actions) from 0.14.10 to 0.19.4. - [Release notes](https://github.com/armakuni/github-actions/releases) - [Changelog](https://github.com/armakuni/github-actions/blob/main/CHANGELOG.md) - [Commits](https://github.com/armakuni/github-actions/compare/v0.14.10...v0.19.4) --- updated-dependencies: - dependency-name: armakuni/github-actions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/app-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/app-pipeline.yml b/.github/workflows/app-pipeline.yml index 2a8c1cf..d62dbab 100644 --- a/.github/workflows/app-pipeline.yml +++ b/.github/workflows/app-pipeline.yml @@ -172,7 +172,7 @@ jobs: - id: bump-version name: Bump to Next Semver Version - uses: armakuni/github-actions/bump-version@v0.14.11 + uses: armakuni/github-actions/bump-version@v0.19.4 - name: Build Docker Image run: | @@ -352,7 +352,7 @@ jobs: needs: - placeholder-prod-deploy-to-az-container-apps if: github.ref == 'refs/heads/main' - uses: armakuni/github-actions/.github/workflows/tag-and-release.yml@v0.14.10 + uses: armakuni/github-actions/.github/workflows/tag-and-release.yml@v0.19.4 secrets: inherit with: download-artifacts: true