mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Merge branch 'master' into all-styles-gh-actions
This commit is contained in:
commit
4a2be40cbe
52 changed files with 198 additions and 141 deletions
7
.github/workflows/build-userguide-pdf.yml
vendored
7
.github/workflows/build-userguide-pdf.yml
vendored
|
|
@ -33,20 +33,23 @@ jobs:
|
|||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: moderncv_userguide.pdf
|
||||
path: ./manual/moderncv_userguide/moderncv_userguide.pdf
|
||||
path: ./manual/moderncv_userguide.pdf
|
||||
|
||||
- name: Upload user guide log
|
||||
if: ${{ always() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: moderncv_userguide.log
|
||||
path: ./manual/moderncv_userguide/moderncv_userguide.log
|
||||
path: ./manual/moderncv_userguide.log
|
||||
|
||||
- name: Push new user guide to master
|
||||
if: ${{ github.ref_name == 'master' }}
|
||||
run: |
|
||||
# maybe switch to an image with git already included, for now install it here
|
||||
apt update && apt install git -y
|
||||
git config --global user.name '${{ env.UG_AUTHOR }}'
|
||||
git config --global user.email '${{ github.actor }}@users.noreply.github.com'
|
||||
ls -l
|
||||
git add manual/moderncv_userguide.pdf
|
||||
git commit -m "${{ env.UG_COMMIT_MESSAGE }}"
|
||||
git push
|
||||
|
|
|
|||
25
.github/workflows/codespell.yml
vendored
Normal file
25
.github/workflows/codespell.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Codespell configuration is within .codespellrc
|
||||
---
|
||||
name: Codespell
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
codespell:
|
||||
name: Check for spelling errors
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Annotate locations with typos
|
||||
uses: codespell-project/codespell-problem-matcher@v1
|
||||
- name: Codespell
|
||||
uses: codespell-project/actions-codespell@v2
|
||||
Loading…
Add table
Add a link
Reference in a new issue