forked from alexleventer/github-issue-due-dates-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add readme getting started instructions
- Loading branch information
1 parent
367ec47
commit 657d318
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
# GitHub Issue Due Dates Action | ||
|
||
|
||
## How it works: | ||
1. Add the following to the top of issues you'd like assign due dates to: | ||
``` | ||
--- | ||
due: 2019-09-19 | ||
--- | ||
``` | ||
2. Create a .github/workflows/workflow.yml file with the following contents: | ||
``` | ||
name: Main Workflow | ||
on: | ||
schedule: | ||
- cron: '0 * * * *' | ||
jobs: | ||
Ubuntu: | ||
name: Add labels to issues | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: GitHub Issue Due Dates Action | ||
uses: alexleventer/github-issue-due-dates-action@master | ||
env: | ||
GH_TOKEN: "${{ secrets.GH_TOKEN }}" | ||
``` | ||
3. Generate a GitHub token and add it to your repository secrets. |