{"repo":"lowply/issue-from-template","free":true,"listed":false,"github":"https://github.com/lowply/issue-from-template","clone":"git clone https://github.com/lowply/issue-from-template.git","description":"A GitHub Action that opens an issue from an issue template","language":"Go","stars":20,"topics":["github-actions"],"license":null,"category":"workflow-automation","readme_excerpt":"Issue From Template This action opens a new issue from an issue template. It parses the template's front matter and the body, then posts an API request to open an issue. Works best with a scheduled workflow and the Auto Closer action. Usage Inputs - template-name ( required ): The name of the issue template. For example, report.md . This action will look for the file in the .github/ISSUE TEMPLATE directory. - add-dates ( optional ): Number of the days to add. This is useful when you want to run this action to open an issue for the next week, not this week. Available template variables - .Current : The day when this action runs (time.Time) - .WeekStart : Date of Monday of the week (time.Time) - .WeekEnd : Date of Sunday of the week (time.Time) - .WeekNumber : ISO week number (string) - .YearOfTheWeek : Year of the Thursday of the week. Matches with ISO week number (string) - .Dates : Array of the dates of the week (Can be used as {{ index .Dates 1 }} in the template, array of time.Time) For variables that are in the time.Time type, you can pick your preferred format in the template e.g. .Format \"2006-01-02\" . See https://pkg.go.dev/time#Time.Format for more details. Date and time formatting layout If you're not familiar with Go's time.Time layouts, there are other resources you can use e.g. Date and time format in Go (Golang) cheatsheet but in short, Monday, Jan 2nd, 2006 is the day used to express any formatting. So for example, if you want to format your date in YYYY-MM-DD ,","default_branch":null,"files":null,"tree":[],"storefront":"/r/lowply","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lowply/issue-from-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}