Skip to content

Commit

Permalink
Add DCO workflow (opensearch-project#86)
Browse files Browse the repository at this point in the history
* Also fixed link-checker complainer about a false-positive

Signed-off-by: Miki <[email protected]>
  • Loading branch information
Miki authored Nov 9, 2021
1 parent cac5c62 commit 8758336
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Developer Certificate of Origin Check

on: [pull_request]

jobs:
check:
runs-on: ubuntu-latest

steps:
- name: Get PR Commits
id: 'get-pr-commits'
uses: tim-actions/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: DCO Check
uses: tim-actions/[email protected]
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
id: lychee
uses: lycheeverse/lychee-action@master
with:
args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json"
args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude-file .lychee.excludes
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Fail if there were link errors
Expand Down
1 change: 1 addition & 0 deletions .lychee.excludes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
file:///path/to/target/releases/opensearch-job-scheduler-

0 comments on commit 8758336

Please sign in to comment.