Skip to content
calendar

GitHub Action

Due Dates

1.1.0 Latest version

Due Dates

calendar

Due Dates

Manage due dates on issues

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Due Dates

uses: alexleventer/[email protected]

Learn more about this action in alexleventer/github-issue-due-dates-action

Choose a version

📆 GitHub Issue Due Dates Action

Add due dates to GitHub issues - issues are automatically tagged with Overdue and Due in 1 week labels.

How it works:

  1. Add the following snippet to the top of issues you'd like to assign due dates to:
---
due: 2022-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/[email protected]
        with:
          GH_TOKEN: "${{ secrets.GH_TOKEN }}"
  1. Generate a personal access GitHub token with the "workflow" scope.
  2. Add the following Actions secret to your repository (under Settings --> Security):
  • Name: GH_TOKEN
  • Value: {{your personal access token}}