-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub Actions workflow for docs
Signed-off-by: CaptainIRS <[email protected]>
- Loading branch information
1 parent
5d903fa
commit f5eea6c
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
docs/v0.2 | ||
docs/v0.3.2 | ||
docs/v0.4.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Taken from https://github.com/petermetz/gh-action-dci-lint | ||
name: DCI | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
DCI-lint: | ||
name: DCI-Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Lint Git Repo | ||
id: lint-git-repo | ||
uses: petermetz/[email protected] | ||
with: | ||
lint-git-repo-request: '{"cloneUrl": "${{ github.server_url }}/${{ github.repository }}.git", "fetchArgs": ["--no-tags", "--prune", "--progress", "--no-recurse-submodules", "--depth=1", "origin" ,"+${{ github.sha }}:${{ github.ref }}"], "checkoutArgs": [ "${{ github.ref }}"], "targetPhrasePatterns": [], "configDefaultsUrl": "https://inclusivenaming.org/json/dci-lint-config-recommended-v1.json" }' | ||
- name: Get the output response | ||
run: echo "${{ steps.lint-git-repo.outputs.lint-git-repo-response }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: CI (PR) | ||
|
||
on: | ||
pull_request: | ||
branches: [ "gh-pages" ] | ||
|
||
jobs: | ||
dci-lint: | ||
uses: ./.github/workflows/dci.yml |