New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

depsbot

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depsbot

Check freshness of your deno dependencies

latest
Source
npmnpm
Version
0.8.0
Version published
Maintainers
1
Created
Source

depsbot

⚙️ GitHub action to check freshness of your deno dependencies


Usage

Example Workflow file

An example workflow to authenticate with GitHub Platform:

on:
  schedule:
    - cron: "0 0 * * *" # run depsbot everyday at 00:00 UTC
  push:
  pull_request: # but also check on push and pull requests

jobs:
  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

namevaluedefaultdescription
github_tokenstringToken for the repo. Can be passed in using ${{ secrets.GITHUB_TOKEN }}.
pathstring'.'If your deno project is in a subdirectory you specify where to run the depsbot.
repo_pathstring'.'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

    // depsbot-ignore
    import { red } from "https://deno.land/std@0.51.0/fmt/colors.ts";
    
  • // depsbot-ignore-file to ignore the entire file

    // depsbot-ignore
    import { red } from "https://deno.land/std@0.51.0/fmt/colors.ts";
    import { exists } from "https://deno.land/std@0.51.0/fs/mod.ts";
    

Maintainers

Other

  • dependabot - 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.

Keywords

actions

FAQs

Package last updated on 07 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts