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 1 month ago
JSON representation
Action that returns the interval (in days) between the start of development and the opening of the Pull Request.
- Host: GitHub
- URL: https://github.com/padupe/action-compare-development-time
- Owner: padupe
- Created: 2023-02-07T16:55:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T18:05:55.000Z (over 3 years ago)
- Last Synced: 2025-07-04T00:03:51.240Z (11 months ago)
- Topics: github-actions, project-management
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

## 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/action-compare-development-time@1.2.0
with:
githubToken: ${{ secrets.PAT_TOKEN }}
```
## General use
```yaml
uses: padupe/action-compare-development-time@1.2.0
with:
githubToken: ${{ secrets.PAT_TOKEN }}
```
## Output
`interval` in days.