Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/padupe/action-compare-development-time

Action that returns the interval (in days) between the start of development and the opening of the Pull Request.
https://github.com/padupe/action-compare-development-time

github-actions project-management

Last synced: about 2 months ago
JSON representation

Action that returns the interval (in days) between the start of development and the opening of the Pull Request.

Awesome Lists containing this project

README

        

# action-compare-development-time

## Description

Action that returns the interval (in days) between the start of development and the opening of the Pull Request.

**NOTE**: This action performs a comment on the registered Pull Request.

![Example Comment](./assets/comment-example.jpeg)

## Requiremets

- Personal Access Token

## Usage for metrics through Git Flow

1. Create directory `.github/worfklows` in the root of your project;

2. Create file `compare.yaml` with content similar to the following:

```yaml
name: Compare
on:
pull_request:
types: [opened, reopened, synchronize]
branches:
- main

jobs:
compare-time-development:
runs-on: ubuntu-latest
steps:
- name: Compare Development Time
uses: padupe/[email protected]
with:
githubToken: ${{ secrets.PAT_TOKEN }}
```

## General use

```yaml
uses: padupe/[email protected]
with:
githubToken: ${{ secrets.PAT_TOKEN }}
```

## Output

`interval` in days.