New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

add-issues-to-project

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-issues-to-project

Github action to automatically add all issues to the specified project board.

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Add Issues to Project (Github Action

Github action to automatically add all issues to the specified project board.

Installation

NOTE: GITHUB_TOKEN will not have sufficient privalege to write organization project, hence personal access token is needed.

  1. Create a personal access token with org:write permission
  2. Add .github/workflows/action.yml example (see below)
  3. Merge your changes to master (won't run until you do this)
  4. Create/edit/reopen issues and enjoy the magic!

Example Workflow

name: Issue Automation
on:
  issues:
    types: [ opened, edited, reopened ]
jobs:
  add-to-project-board:
    name: Add issue to project board
    runs-on: ubuntu-latest
    steps:
      - name: Add new issues to project board
        uses: matmar10/add-issues-to-project@master
        with:
          gitub_token: ${{ secrets.GITHUB_TOKEN_2 }}
          github_project_title: Your Github Project Board's Title
          github_org: your-org-name

Testing Locally

Pre-Requisites

  1. nektos/act framework installed
  2. Create a personal access token having org:write permission

Set Up

  1. git clone https://github.com/matmar10/add-issues-to-project.git to clone this repo
  2. cd add-issues-to-project
  3. npm install to install node deps
  4. Create a .secrets file with GITHUB_TOKEN_2 set to secret created in Pre-Requisites step #2
  5. Run npm run test

Keywords

FAQs

Package last updated on 21 Apr 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc