🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

github.com/isethi/issue-timer

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/isethi/issue-timer

v0.0.0-20210405014006-02260eb0d911
Version published
Created

Tag Issues Which have not moved in project board

The goal of this action is to label issues which have been in a column in a project for a certain amount of time.

This action can be helpful if you use project boards to manage stages of a project or a team and want to automatically label issues if they have been sitting in a column too long.

Inputs

  • PROJECT_ID - id of the project you want to set up this action for
  • TIME_IN_MINUTES - issues which have stayed in a project board column for this time period atleast get flagged
  • LABEL_NAME - name of label to be added to issues exceeding time in column

Sample workflow

name: Example
on: 
  workflow_dispatch:
  project_card:
    types: [created, moved]
  push:
    branches: [main]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/cache@v2
      with:
        path: ~/go/pkg/mod
        key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
        restore-keys: |
          ${{ runner.os }}-go-
    - uses: actions/setup-go@v2
      with:
        go-version: '1.15.8'
    - name: Example
      uses: isethi/issue-timer@main
      with:
        PROJECT_ID: 1
        TIME_IN_MINUTES: 10
        LABEL_NAME: review_time

FAQs

Package last updated on 05 Apr 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