Skip to content

Commit

Permalink
feat: create add-overdue-issue-label helper
Browse files Browse the repository at this point in the history
  • Loading branch information
k-borley committed Sep 26, 2023
1 parent 6d706f3 commit 2793037
Show file tree
Hide file tree
Showing 41 changed files with 916 additions and 31 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/add-overdue-issue-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Add Overdue Issue Label

on:
issues:
types:
- opened
- reopened
paths:
- 'src/helpers/add-overdue-issue-label.ts'

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- uses: ./
with:
helper: add-overdue-issue-label
login: ${{ github.event.review.user.login }}
github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} # must have read:org permission
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ with:

## Available Helpers
Each of the following helpers are defined in a file of the same name in `src/helpers`:
### [add-overdue-issue-label](.github/workflows/add-overdue-issue-label.yml)
* Adds 'overdue' or 'due soon' labels to issues that have a priority label and are overdue based on SLA guidelines

### [are-reviewers-required](.github/workflows/are-reviewers-required.yml)
* Returns true if all teams specified are requested for review on a pull request

Expand Down
14 changes: 13 additions & 1 deletion dist/0.index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/0.index.js.map

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion dist/101.index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2793037

Please sign in to comment.