Skip to content

Actions Ecosystem Action Create Issue

Actions
Create an issue
v1.0.0
Latest
Star (10)

Action Create Issue

actions-workflow-test release license

screenshot

This is a GitHub Action to create an issue.

Inputs

NAME DESCRIPTION TYPE REQUIRED DEFAULT
github_token A GitHub token. string true N/A
title The title of the created issue. string true N/A
body The body of the created issue. string false N/A
repo The owner and repository name. e.g.) Codertocat/Hello-World string false ${{ github.repository }}
labels The labels which are added to the created issue when it's created. Must be separated with line breaks if there're multiple labels. string false N/A
milestone The number of the milestone to which the created issue is added when it's created. number false N/A
assignees The assignees which are assigned to the created issue when it's created. Must be separated with line breaks if there're multiple assignees. string false N/A

Example

name: Create an issue on Monday

on:
  schedule:
    - cron: '0 9 * * 1' # At 09:00 on Monday

jobs:
  create_issue:
    runs-on: ubuntu-latest
    steps:
      - name: Get today's date
        id: date
        run: |
          echo "::set-output name=today::$(date "+%Y/%m/%d")"

      - name: Create an issue
        uses: actions-ecosystem/action-create-issue@v1
        with:
          github_token: ${{ secrets.github_token }}
          title: ${{ steps.date.outputs.today }}
          body: |
            ## This week's TODO

            - [ ] Have a meeting with UX team
            - [ ] Check the dashboard

          labels: |
            meeting
            weekly

License

Copyright 2020 The Actions Ecosystem Authors.

Action Create Issue is released under the Apache License 2.0.

Actions Ecosystem Action Create Issue is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Create an issue
v1.0.0
Latest

Actions Ecosystem Action Create Issue is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.