https://github.com/denosaurs/depsbot
⚙️ GitHub action to check freshness of your deno dependencies
https://github.com/denosaurs/depsbot
action best-practices ci deno deps javascript-action typescript workflow
Last synced: 17 days ago
JSON representation
⚙️ GitHub action to check freshness of your deno dependencies
- Host: GitHub
- URL: https://github.com/denosaurs/depsbot
- Owner: denosaurs
- License: mit
- Created: 2020-08-30T17:58:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-16T03:07:33.000Z (over 2 years ago)
- Last Synced: 2025-05-04T20:49:46.940Z (17 days ago)
- Topics: action, best-practices, ci, deno, deps, javascript-action, typescript, workflow
- Language: TypeScript
- Homepage: https://npm.im/depsbot
- Size: 3.9 MB
- Stars: 29
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Usage as a GitHub action
### Example Workflow file
An example workflow to authenticate with GitHub Platform:
```yaml
on:
schedule:
- cron: "0 0 * * *" # run depsbot everyday at 00:00 UTC
push:
pull_request: # but also check on push and pull requestsjobs:
depsbot:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@master- name: Run depsbot
uses: denosaurs/depsbot@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
```### Inputs
| name | value | default | description |
| ------------ | ------ | ------- | ------------------------------------------------------------------------------- |
| github_token | string | | Token for the repo. Can be passed in using `${{ secrets.GITHUB_TOKEN }}`. |
| path | string | '.' | If your deno project is in a subdirectory you specify where to run the depsbot. |
| repo_path | string | '.' | Path to your repository in the filesystem. |### Ignore Comments
If you to let depsbot know that a particular line or file shouldn't be checked you can add:
- `// depsbot-ignore` to ignore the next line
```typescript
// depsbot-ignore
import { red } from "https://deno.land/[email protected]/fmt/colors.ts";
```- `// depsbot-ignore-file` to ignore the entire file
```typescript
// depsbot-ignore-file
import { red } from "https://deno.land/[email protected]/fmt/colors.ts";
import { exists } from "https://deno.land/[email protected]/fs/mod.ts";
```## Usage as a CLI
To use depsbot as a CLI you can install it with:
```bash
$ yarn global add depsbot
```you can also use it for a one time run with npx.
## Maintainers
- Filippo Rossi ([@qu4k](https://github.com/qu4k))
## Other
### Related
- [dependabot](https://github.com/dependabot/dependabot-core) - Automated dependency updates built into GitHub
### Contribution
Pull request, issues and feedback are very welcome. Code style is formatted with `yarn format` and commit messages are done following Conventional Commits spec.
### Licence
Copyright 2020-present, the denosaurs team. All rights reserved. MIT license.