Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/padupe/action-compare-development-time
- Owner: padupe
- Created: 2023-02-07T16:55:23.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T18:05:55.000Z (almost 2 years ago)
- Last Synced: 2024-03-15T13:21:26.038Z (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.
![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.