Skip to content

Commit

Permalink
Update update-cspell.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Jul 8, 2022
1 parent a40170c commit 5ecb20f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/update-cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
echo "CSPELL_VERSION=$(yarn exec -s cspell -- -V)" >> $GITHUB_ENV
- name: Install Updates
run: |
yarn install
npx package-json-dependency-updater -u
yarn
- name: Update packages Src
Expand All @@ -43,15 +44,15 @@ jobs:
run: |
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: Echo git_status
run: |
echo Status: ${{ env.git_status }}
echo CSpell Version: ${{ env.CSPELL_VERSION }}
- name: Gen Body
run: |
echo 'git_body<<DIFF' >> $GITHUB_ENV
git --no-pager diff --compact-summary >> $GITHUB_ENV
echo 'DIFF' >> $GITHUB_ENV
- name: Echo git_status
run: |
echo Status: ${{ env.git_status }}
echo CSpell Version: ${{ env.CSPELL_VERSION }}
- uses: tibdex/github-app-token@v1 # cspell:ignore tibdex
if: env.git_status == 'dirty'
id: generate-token
Expand Down

0 comments on commit 5ecb20f

Please sign in to comment.