From 2b7bb2ecdd1f86ea0c4dd5cb324797476a5201e3 Mon Sep 17 00:00:00 2001 From: Patrick Lee Scott Date: Sat, 19 Nov 2022 16:21:38 -0600 Subject: [PATCH] chore: commit message subjects --- .github/workflows/gitops-preview-cleanup.yaml | 2 +- .github/workflows/gitops-preview.yaml | 2 +- .github/workflows/gitops-promote.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gitops-preview-cleanup.yaml b/.github/workflows/gitops-preview-cleanup.yaml index f0b7355..5b54b01 100644 --- a/.github/workflows/gitops-preview-cleanup.yaml +++ b/.github/workflows/gitops-preview-cleanup.yaml @@ -34,7 +34,7 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git add . - git commit -m "feat: ${{ github.event.repository.name }}-pr-${{ github.event.pull_request.number }}" + git commit -m "feat(${{ github.event.repository.name }}): ${{ github.event.repository.name }}-pr-${{ github.event.pull_request.number }}" - name: Push Preview Env Changes uses: ad-m/github-push-action@master diff --git a/.github/workflows/gitops-preview.yaml b/.github/workflows/gitops-preview.yaml index 8a7ff48..02ae94e 100644 --- a/.github/workflows/gitops-preview.yaml +++ b/.github/workflows/gitops-preview.yaml @@ -123,7 +123,7 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git add -A - git commit -m "feat: ${{ github.event.repository.name }}-pr-${{ github.event.pull_request.number }} ${{ github.sha }}" + git commit -m "feat(${{ github.event.repository.name }}): ${{ github.event.repository.name }}-pr-${{ github.event.pull_request.number }} ${{ github.sha }}" fi - name: Push Preview Env Changes diff --git a/.github/workflows/gitops-promote.yaml b/.github/workflows/gitops-promote.yaml index 3acdbad..c848fec 100644 --- a/.github/workflows/gitops-promote.yaml +++ b/.github/workflows/gitops-promote.yaml @@ -44,7 +44,7 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git add -A - git commit -m "feat: Promoting ${{ github.event.repository.name }} to ${{ github.ref_name }}" + git commit -m "feat(${{ github.event.repository.name }}): Promoting ${{ github.event.repository.name }} to ${{ github.ref_name }}" fi - name: Push prod