Skip to content

Commit

Permalink
feat(ci): added auto update for typos (closes #16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shemnei committed Jan 20, 2024
2 parents 68f0c05 + 8d9984b commit ef36551
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/depup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,33 @@ jobs:
This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3Adepup).
branch: depup/reviewdog
base: main
labels: "bump:minor"

typos:
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-depup@v1
id: depup
with:
file: Dockerfile
version_name: TYPOS_VERSION
repo: crate-ci/typos

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: "chore(deps): update typos to ${{ steps.depup.outputs.latest }}"
commit-message: "chore(deps): update typos to ${{ steps.depup.outputs.latest }}"
body: |
Update typos to [v${{ steps.depup.outputs.latest }}](https://github.com/crate-ci/typos/releases/tag/v${{ steps.depup.outputs.latest }})
Compare [v${{ steps.depup.outputs.current }}...v${{ steps.depup.outputs.latest }}](https://github.com/crate-ci/typos/compare/v${{ steps.depup.outputs.current }}...v${{ steps.depup.outputs.latest }})
This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3Adepup).
branch: depup/typos
base: main
labels: "bump:minor"

0 comments on commit ef36551

Please sign in to comment.