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

repo-lockdown

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

repo-lockdown

A GitHub App built with Probot that closes and locks new and existing issues or pull requests.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Repo Lockdown

Version

This project is no longer maintained, please migrate to Repo Lockdown.

Repo Lockdown is a GitHub App built with Probot that closes and locks new and existing issues or pull requests. It is used for repositories which do not accept issues or pull requests, such as forks or mirrors.

Usage

  • Install the GitHub App for the intended repositories
  • Create .github/lockdown.yml based on the template below
  • New issues and/or pull requests will be handled as they are opened, while existing ones will begin to be processed within an hour

If possible, install the app only for select repositories. Do not leave the All repositories option selected, unless you intend to use the app for all current and future repositories.

Configuration

Create .github/lockdown.yml in the default branch to enable the app, or add it at the same file path to a repository named .github. The file can be empty, or it can override any of these default settings:

# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown-app

# Skip issues and pull requests created before a given timestamp. Timestamp must
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
skipCreatedBefore: false

# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
exemptLabels: []

# Comment to post before closing or locking. Set to `false` to disable
comment: false

# Label to add before closing or locking. Set to `false` to disable
label: false

# Close issues and pull requests
close: true

# Lock issues and pull requests
lock: true
# Limit to only `issues` or `pulls`
# only: issues

# Optionally, specify configuration settings just for `issues` or `pulls`
# issues:
#   label: wontfix

# pulls:
#   comment: >
#     This repository does not accept pull requests, see the README for details.
#   lock: false

# Repository to extend settings from
# _extends: repo

Why are only some issues and pull requests processed?

To avoid triggering abuse prevention mechanisms on GitHub, only 30 issues and pull requests will be handled per hour. If your repository has more than that, it will just take a few hours or days to process them all.

Deployment

See docs/deploy.md if you would like to run your own instance of this app.

License

Copyright (c) 2019-2021 Armin Sebastian

This software is released under the terms of the MIT License. See the LICENSE file for further information.

Keywords

github

FAQs

Package last updated on 03 Jul 2021

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