Skip to content

Commit

Permalink
Merge pull request #90 from DepsHubHQ/add-gh-actions-docs
Browse files Browse the repository at this point in the history
Add GH actions docs
  • Loading branch information
semanser authored Jan 13, 2025
2 parents 51dcb26 + a5165c4 commit 4a1b62a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/src/content/docs/guides/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,35 @@ title: CI/CD Integrations
## CircleCI

## GitHub Actions
You can find the official DepsHub GitHub Action in this repository: [depshub-action](https://github.com/DepsHubHQ/github-action).

Example:

```yaml
name: Run DepsHub

on:
push:
branches:
- main
pull_request:

jobs:
depshub-lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run DepsHub
uses: DepsHubHQ/depshub-action@v1
with:
path: './src' # optional
config: './depshub-config.yml' # optional
```
More options can be found in the repository's README.
## GitLab CI/CD
Expand Down

0 comments on commit 4a1b62a

Please sign in to comment.