This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function onFormSubmit(e) { | |
| const headers = { | |
| outline: "Outline", | |
| expected: "What's the expected result?", | |
| actual: "What's the actual result?", | |
| howToReproduce: "Steps to reproduce the issue", | |
| details: "Additional details", | |
| email: "Email Address", | |
| }; | |
| const title = e.namedValues[headers.outline][0]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script will clean executions older than a given amount of days ($DAYS) but will keep at least $KEEP executions. | |
| # Based on @unicolet gist that keeps last 30 exec of each job ( https://gist.github.com/unicolet/af648a97163ce6b44645 ) | |
| # Taken from @lucabusin the workflow tables cleaning code ( https://gist.github.com/lucabusin/cad36a45764f2fc2e2daa81e2db4186d ) | |
| # setup ~/.mycnf or ~/.pgpass to allow passwordless connection to mysql/postgres | |
| # Comment / Uncomment below to use postgres or mysql. | |
| # Days to keep executions. | |
| DAYS=90 | |
| # Minimum Amount to Keep |