Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Issue Automation

Automate issue and pull request processing

Workflow Quality GitHub Release

This is a reusable workflow to automate repetitve issue and pull request tasks. It adds issues and pull requests to a GitHub project specified by the calling workflow.

Getting Started

To use this workflow, first, create a personal access token (PAT) with project permission. Add the PAT to your repository as a secret.

Then, call this workflow with the uses key of a job in your project's workflow file.

on:
  issues:
    types: [opened]
  pull_request:
    types: [opened]
jobs:
  issue-automation:
    name: Issue Automation
    uses: brobeson/IssueAutomation/.github/workflows/issue_automation.yaml@v1
    secrets
      personal_access_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
    with:
      project_owner: you
      project_id: 42

Inputs

Key Required Type Description
personal_access_token yes string The PAT you created and added to your repository. This must be in the secrets object in the calling job.
project_owner yes string The account name of the user who owns the project to add issues to. Organization projects are not supported.
project_id yes number The ID number of the project to update.

Steps

The workflow runs the following steps.

  1. Add new issues to the specified project.
    The PAT must project permission in the calling repository.

Issue Tracking

GitHub Issues or Pull Requests by label GitHub Issues or Pull Requests by label GitHub Issues or Pull Requests by label GitHub milestone details

Report a bug | Request a new step | Update an existing step

About

Automate issue and pull request processing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors