Use external workflow for doc maintainance.
This commit is contained in:
48
.github/workflows/autofix.yaml
vendored
48
.github/workflows/autofix.yaml
vendored
@@ -87,51 +87,3 @@ jobs:
|
||||
labels: "CI/CD"
|
||||
assignees: kdeldycke
|
||||
branch: format-json
|
||||
|
||||
typos:
|
||||
name: Fix typos and create a PR
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: sobolevn/misspell-fixer-action@0.1.0
|
||||
- uses: peter-evans/create-pull-request@v3.12.0
|
||||
with:
|
||||
author: "Kevin Deldycke <kevin@deldycke.com>"
|
||||
commit-message: "[autofix] Typo"
|
||||
title: "[autofix] Typo"
|
||||
body: >
|
||||
[Auto-generated on run
|
||||
#${{ github.run_id }}](https://github.com/${{ github.repository
|
||||
}}/actions/runs/${{ github.run_id }}) as defined by [workflow
|
||||
action](https://github.com/${{ github.repository
|
||||
}}/blob/${{ github.base_ref }}/.github/workflows/autofix.yaml).
|
||||
labels: "CI/CD"
|
||||
assignees: kdeldycke
|
||||
branch: autofix-typo
|
||||
|
||||
images:
|
||||
name: Optimize images
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: calibreapp/image-actions@1.1.0
|
||||
id: image_actions
|
||||
with:
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
compressOnly: true
|
||||
- uses: peter-evans/create-pull-request@v3.12.0
|
||||
with:
|
||||
author: "Kevin Deldycke <kevin@deldycke.com>"
|
||||
commit-message: "[autofix] Optimize images"
|
||||
title: "[autofix] Optimize images"
|
||||
body: >
|
||||
[Auto-generated on run
|
||||
#${{ github.run_id }}](https://github.com/${{ github.repository
|
||||
}}/actions/runs/${{ github.run_id }}) as defined by [workflow
|
||||
action](https://github.com/${{ github.repository
|
||||
}}/blob/${{ github.base_ref }}/.github/workflows/autofix.yaml).
|
||||
%0A
|
||||
${{ steps.image_actions.outputs.markdown }}
|
||||
labels: "CI/CD"
|
||||
assignees: kdeldycke
|
||||
branch: optimize-images
|
||||
|
||||
13
.github/workflows/docs.yaml
vendored
Normal file
13
.github/workflows/docs.yaml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
name: Docs
|
||||
"on":
|
||||
push:
|
||||
# Only targets main branch to avoid amplification effects of auto-fixing
|
||||
# the exact same stuff in multiple non-rebased branches.
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
|
||||
docs:
|
||||
uses: kdeldycke/workflows/.github/workflows/docs.yaml@v1.0.0
|
||||
Reference in New Issue
Block a user