actions-ecosystem / action-create-issue

πŸ“” GitHub Action to create an issue

Home Page:https://github.com/marketplace/actions/actions-ecosystem-action-create-issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

πŸ“” GitHub Action to create an issue

https://github.com/marketplace/actions/actions-ecosystem-action-create-issue

License:Apache License 2.0


Languages

Language:TypeScript 64.1%Language:JavaScript 35.9%