From 657d31819d996c422515487cee083886985c4479 Mon Sep 17 00:00:00 2001 From: Alex Leventer Date: Wed, 4 Sep 2019 17:14:22 -0700 Subject: [PATCH] add readme getting started instructions --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 273a44ad..cc6e2664 100644 --- a/README.md +++ b/README.md @@ -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.