Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 752 Bytes

README.md

File metadata and controls

27 lines (26 loc) · 752 Bytes

GitHub Issue Due Dates Action

How it works:

  1. Add the following to the top of issues you'd like to assign due dates to:
---
due: 2019-09-19
---
  1. 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 }}"
  1. Generate a personal access GitHub token. 4 Add the following environment variable to your repository secrets: GH_TOKEN={{your personal access token}}