Skip to content

Commit

Permalink
ci: Cleanup name of CSpell Update PR (#818)
Browse files Browse the repository at this point in the history
* ci: Cleanup name of CSpell Update PR

* ci: Change the type of PR based upon what gets changed
  • Loading branch information
Jason3S committed Jul 8, 2022
1 parent 3f9f1e6 commit a8aab2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/latest.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/update-cspell.yml
Expand Up @@ -63,10 +63,10 @@ jobs:
if: env.git_status == 'dirty'
uses: peter-evans/create-pull-request@v4
with:
commit-message: "fix: Workflow Bot -- Update CSpell (${{ env.CSPELL_VERSION }})"
commit-message: "fix: Update CSpell to (${{ env.CSPELL_VERSION }})"
branch: ${{ env.NEW_BRANCH }}
base: ${{ env.REF_BRANCH }}
title: "fix: Workflow Bot -- Update CSpell (${{ env.CSPELL_VERSION }}) (${{ env.REF_BRANCH }})"
title: "fix: Update CSpell to (${{ env.CSPELL_VERSION }}) (${{ env.REF_BRANCH }})"
token: ${{ steps.generate-token.outputs.token }}
body: ${{ env.git_body }}
delete-branch: true
5 changes: 3 additions & 2 deletions .github/workflows/update-dependencies.yml
Expand Up @@ -35,6 +35,7 @@ jobs:
run: yarn clean-build
- name: Has changes
run: |
git --no-pager diff --compact-summary --exit-code action && echo "PR_TYPE=ci" >> $GITHUB_ENV || echo "PR_TYPE=fix" >> $GITHUB_ENV
git --no-pager diff --compact-summary --exit-code && echo "git_status=clean" >> $GITHUB_ENV || echo "git_status=dirty" >> $GITHUB_ENV
git --no-pager diff --compact-summary
- name: Gen Body
Expand All @@ -54,10 +55,10 @@ jobs:
if: env.git_status == 'dirty'
uses: peter-evans/create-pull-request@v4
with:
commit-message: "ci: Workflow Bot -- Update ALL Dependencies"
commit-message: "${{ env.PR_TYPE }}: Workflow Bot -- Update ALL Dependencies"
branch: ${{ env.NEW_BRANCH }}
base: ${{ env.REF_BRANCH }}
title: "ci: Workflow Bot -- Update ALL Dependencies (${{ env.REF_BRANCH }})"
title: "${{ env.PR_TYPE }}: Workflow Bot -- Update ALL Dependencies (${{ env.REF_BRANCH }})"
token: ${{ steps.generate-token.outputs.token }}
body: ${{ env.git_body }}
delete-branch: true

0 comments on commit a8aab2f

Please sign in to comment.