dashy/assets/js/f9f76190.04df3d8f.js

1 line
30 KiB
JavaScript

"use strict";(self.webpackChunkdashy=self.webpackChunkdashy||[]).push([[245],{5680:(e,t,a)=>{a.d(t,{xA:()=>m,yg:()=>u});var n=a(6540);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){r(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function i(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},s=Object.keys(e);for(n=0;n<s.length;n++)a=s[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)a=s[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var o=n.createContext({}),g=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=g(e.components);return n.createElement(o.Provider,{value:t},e.children)},d="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,s=e.originalType,o=e.parentName,m=i(e,["components","mdxType","originalType","parentName"]),d=g(a),p=r,u=d["".concat(o,".").concat(p)]||d[p]||y[p]||s;return a?n.createElement(u,l(l({ref:t},m),{},{components:a})):n.createElement(u,l({ref:t},m))}));function u(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var s=a.length,l=new Array(s);l[0]=p;var i={};for(var o in t)hasOwnProperty.call(t,o)&&(i[o]=t[o]);i.originalType=e,i[d]="string"==typeof e?e:r,l[1]=i;for(var g=2;g<s;g++)l[g]=a[g];return n.createElement.apply(null,l)}return n.createElement.apply(null,a)}p.displayName="MDXCreateElement"},6492:(e,t,a)=>{a.r(t),a.d(t,{contentTitle:()=>l,default:()=>d,frontMatter:()=>s,metadata:()=>i,toc:()=>o});var n=a(8168),r=(a(6540),a(5680));const s={},l="Releases and Workflows",i={unversionedId:"release-workflow",id:"release-workflow",isDocsHomePage:!1,title:"Releases and Workflows",description:"- Release Schedule",source:"@site/docs/release-workflow.md",sourceDirName:".",slug:"/release-workflow",permalink:"/docs/release-workflow",editUrl:"https://github.com/Lissy93/dashy/edit/gh-pages/docs/docs/release-workflow.md",version:"current",frontMatter:{}},o=[{value:"Release Schedule",id:"release-schedule",children:[]},{value:"Deployment Process",id:"deployment-process",children:[]},{value:"Git Strategy",id:"git-strategy",children:[{value:"Git Flow",id:"git-flow",children:[]},{value:"Git Branch Naming",id:"git-branch-naming",children:[]},{value:"Commit Emojis",id:"commit-emojis",children:[]},{value:"PR Guidelines",id:"pr-guidelines",children:[]}]},{value:"Automated Workflows",id:"automated-workflows",children:[{value:"Code Processing",id:"code-processing",children:[]},{value:"Releases",id:"releases",children:[]},{value:"Issue Management",id:"issue-management",children:[]},{value:"PR Management",id:"pr-management",children:[]},{value:"Documentation &amp; Reports",id:"documentation--reports",children:[]}]}],g={toc:o},m="wrapper";function d(e){let{components:t,...a}=e;return(0,r.yg)(m,(0,n.A)({},g,a,{components:t,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"releases-and-workflows"},"Releases and Workflows"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"#release-schedule"},"Release Schedule")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"#deployment-process"},"Deployment Process")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"#git-strategy"},"Git Strategy")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"#automated-workflows"},"Automated Workflows"))),(0,r.yg)("h2",{id:"release-schedule"},"Release Schedule"),(0,r.yg)("p",null,"We're using ",(0,r.yg)("a",{parentName:"p",href:"https://semver.org/"},"Semantic Versioning"),", to indicate major, minor and patch versions. You can find the current version number in the readme, and check your apps version under the config menu. The version number is pulled from the ",(0,r.yg)("a",{parentName:"p",href:"https://github.com/Lissy93/dashy/blob/master/package.json#L3"},"package.json")," file."),(0,r.yg)("p",null,"Typically there is a new major release every 2 weeks, usually on Sunday, and you can view these under the ",(0,r.yg)("a",{parentName:"p",href:"https://github.com/Lissy93/dashy/releases"},"Releases Page"),". Each new version will also have a corresponding ",(0,r.yg)("a",{parentName:"p",href:"https://github.com/Lissy93/dashy/tags"},"tag on GitHub"),", and each major release will also result in the creation of a new ",(0,r.yg)("a",{parentName:"p",href:"https://hub.docker.com/r/lissy93/dashy/tags"},"tag on DockerHub"),", so that you can fix your container to a certain version."),(0,r.yg)("p",null,"For a full breakdown of each change, you can view the ",(0,r.yg)("a",{parentName:"p",href:"https://github.com/Lissy93/dashy/blob/master/.github/CHANGELOG.md"},"Changelog"),". Each new feature or significant change needs to be submitted through a pull request, which makes it easy to review and track these changes, and roll back if needed."),(0,r.yg)("hr",null),(0,r.yg)("h2",{id:"deployment-process"},"Deployment Process"),(0,r.yg)("p",null,"All changes and new features are submitted as pull requests, which can then be tested, reviewed and (hopefully) merged into the master branch. Every time there is a change in the major version number, a new release is published. This usually happens every 2 weeks, on a Sunday."),(0,r.yg)("p",null,"When a PR is opened:"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"The feature branch is built, and deployed as a Netlify instance. This can be accessed at: ",(0,r.yg)("inlineCode",{parentName:"li"},"https://deploy-preview-[pr-number]--dashy-dev.netlify.app"),", and this URL as well as a link to the build logs are added as a comment on the PR by Netlify bot"),(0,r.yg)("li",{parentName:"ul"},"Depending on what files were modified, the bot may also add a comment to remind the author of useful info"),(0,r.yg)("li",{parentName:"ul"},"A series of checks will run on the new code, using GH Actions, and prevent merging if they fail. This includes: linting, testing, code quality and complexity checking, security scanning and a spell check"),(0,r.yg)("li",{parentName:"ul"},"If a new dependency was added, liss-bot will comment with a summary of those changes, as well as the cost of the module, version, and any security concerns. If the bundle size has increased, this will also be added as a comment")),(0,r.yg)("p",null,"After the PR is merged:"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"The app is build, and deployed to: ",(0,r.yg)("a",{parentName:"li",href:"https://dev.dashy.to"},"https://dev.dashy.to")),(0,r.yg)("li",{parentName:"ul"},"A new tag in GitHub is created, using the apps version number (from the package.json)"),(0,r.yg)("li",{parentName:"ul"},"The Docker container is built, and published under the ",(0,r.yg)("inlineCode",{parentName:"li"},":latest")," tag on DockerHub and GHCR")),(0,r.yg)("p",null,"When a new major version is released:"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"A new GitHub release is created and published, under new versions tag, with info from the changelog"),(0,r.yg)("li",{parentName:"ul"},"The container is built and published under a new tag will be created on DockerHub, called ",(0,r.yg)("inlineCode",{parentName:"li"},":release-[version]")),(0,r.yg)("li",{parentName:"ul"},"An announcement is opened in GitHub discussions, outlining the main changes, where users can comment and ask questions")),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://app.netlify.com/sites/dashy-dev/deploys"},(0,r.yg)("img",{parentName:"a",src:"https://api.netlify.com/api/v1/badges/3a0216c3-1ed0-40f5-ad90-ff68b1c96c09/deploy-status",alt:"Netlify Status"}))),(0,r.yg)("hr",null),(0,r.yg)("h2",{id:"git-strategy"},"Git Strategy"),(0,r.yg)("h3",{id:"git-flow"},"Git Flow"),(0,r.yg)("p",null,"Like most Git repos, we are following the ",(0,r.yg)("a",{parentName:"p",href:"https://guides.github.com/introduction/flow"},"Github Flow")," standard."),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"Create a branch (or fork if you don'd have write access)"),(0,r.yg)("li",{parentName:"ol"},"Code some awesome stuff, then add and commit your changes"),(0,r.yg)("li",{parentName:"ol"},"Create a Pull Request, complete the checklist and ensure the build succeeds"),(0,r.yg)("li",{parentName:"ol"},"Follow up with any reviews on your code"),(0,r.yg)("li",{parentName:"ol"},"Merge \ud83c\udf89")),(0,r.yg)("h3",{id:"git-branch-naming"},"Git Branch Naming"),(0,r.yg)("p",null,"The format of your branch name should be something similar to: ",(0,r.yg)("inlineCode",{parentName:"p"},"[TYPE]/[TICKET]_[TITLE]"),"\nFor example, ",(0,r.yg)("inlineCode",{parentName:"p"},"FEATURE/420_Awesome-feature")," or ",(0,r.yg)("inlineCode",{parentName:"p"},"FIX/690_login-server-error")),(0,r.yg)("h3",{id:"commit-emojis"},"Commit Emojis"),(0,r.yg)("p",null,"Using a single emoji at the start of each commit message, to indicate the type task, makes the commit ledger easier to understand, plus it looks cool."),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\ud83c\udfa8 ",(0,r.yg)("inlineCode",{parentName:"li"},":art:")," - Improve structure / format of the code."),(0,r.yg)("li",{parentName:"ul"},"\u26a1\ufe0f ",(0,r.yg)("inlineCode",{parentName:"li"},":zap:")," - Improve performance."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\udd25 ",(0,r.yg)("inlineCode",{parentName:"li"},":fire:")," - Remove code or files."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\udc1b ",(0,r.yg)("inlineCode",{parentName:"li"},":bug:")," - Fix a bug."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\ude91\ufe0f ",(0,r.yg)("inlineCode",{parentName:"li"},":ambulance:")," - Critical hotfix"),(0,r.yg)("li",{parentName:"ul"},"\u2728 ",(0,r.yg)("inlineCode",{parentName:"li"},":sparkles:")," - Introduce new features."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\udcdd ",(0,r.yg)("inlineCode",{parentName:"li"},":memo:")," - Add or update documentation."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\ude80 ",(0,r.yg)("inlineCode",{parentName:"li"},":rocket:")," - Deploy stuff."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\udc84 ",(0,r.yg)("inlineCode",{parentName:"li"},":lipstick:")," - Add or update the UI and style files."),(0,r.yg)("li",{parentName:"ul"},"\ud83c\udf89 ",(0,r.yg)("inlineCode",{parentName:"li"},":tada:")," - Begin a project."),(0,r.yg)("li",{parentName:"ul"},"\u2705 ",(0,r.yg)("inlineCode",{parentName:"li"},":white_check_mark:")," - Add, update, or pass tests."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\udd12\ufe0f ",(0,r.yg)("inlineCode",{parentName:"li"},":lock:")," - Fix security issues."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\udd16 ",(0,r.yg)("inlineCode",{parentName:"li"},":bookmark:")," - Make a Release or Version tag."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\udea8 ",(0,r.yg)("inlineCode",{parentName:"li"},":rotating_light:")," - Fix compiler / linter warnings."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\udea7 ",(0,r.yg)("inlineCode",{parentName:"li"},":construction:")," - Work in progress."),(0,r.yg)("li",{parentName:"ul"},"\u2b06\ufe0f ",(0,r.yg)("inlineCode",{parentName:"li"},":arrow_up:")," - Upgrade dependencies."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\udc77 ",(0,r.yg)("inlineCode",{parentName:"li"},":construction_worker:")," - Add or update CI build system."),(0,r.yg)("li",{parentName:"ul"},"\u267b\ufe0f ",(0,r.yg)("inlineCode",{parentName:"li"},":recycle:")," - Refactor code."),(0,r.yg)("li",{parentName:"ul"},"\ud83e\ude79 ",(0,r.yg)("inlineCode",{parentName:"li"},":adhesive_bandage:")," - Simple fix for a non-critical issue."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\udd27 ",(0,r.yg)("inlineCode",{parentName:"li"},":wrench:")," - Add or update configuration files."),(0,r.yg)("li",{parentName:"ul"},"\ud83c\udf71 ",(0,r.yg)("inlineCode",{parentName:"li"},":bento:")," - Add or update assets."),(0,r.yg)("li",{parentName:"ul"},"\ud83d\uddc3\ufe0f ",(0,r.yg)("inlineCode",{parentName:"li"},":card_file_box:")," - Perform database schema related changes."),(0,r.yg)("li",{parentName:"ul"},"\u270f\ufe0f ",(0,r.yg)("inlineCode",{parentName:"li"},":pencil2:")," - Fix typos."),(0,r.yg)("li",{parentName:"ul"},"\ud83c\udf10 ",(0,r.yg)("inlineCode",{parentName:"li"},":globe_with_meridians:")," - Internationalization and translations.")),(0,r.yg)("p",null,"For a full list of options, see ",(0,r.yg)("a",{parentName:"p",href:"https://gitmoji.dev/"},"gitmoji.dev")),(0,r.yg)("h3",{id:"pr-guidelines"},"PR Guidelines"),(0,r.yg)("p",null,"Once you've made your changes, and pushed them to your fork or branch, you're ready to open a pull request!"),(0,r.yg)("p",null,"For a pull request to be merged, it must:"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"Must be backwards compatible"),(0,r.yg)("li",{parentName:"ul"},"The build, lint and tests (run by GH actions) must pass"),(0,r.yg)("li",{parentName:"ul"},"There must not be any merge conflicts")),(0,r.yg)("p",null,"When you submit your PR, include the required info, by filling out the PR template. Including:"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"A brief description of your changes"),(0,r.yg)("li",{parentName:"ul"},"The issue, ticket or discussion number (if applicable)"),(0,r.yg)("li",{parentName:"ul"},"For UI relate updates include a screenshot"),(0,r.yg)("li",{parentName:"ul"},"If any dependencies were added, explain why it was needed, state the cost associated, and confirm it does not introduce any security issues"),(0,r.yg)("li",{parentName:"ul"},"Finally, check the checkboxes, to confirm that the standards are met, and hit submit!")),(0,r.yg)("hr",null),(0,r.yg)("h2",{id:"automated-workflows"},"Automated Workflows"),(0,r.yg)("p",null,"Dashy makes heavy use of ",(0,r.yg)("a",{parentName:"p",href:"https://github.com/features/actions"},"GitHub Actions")," to fully automate the checking, testing, building, deploying of the project, as well as administration tasks like management of issues, tags, releases and documentation. The following section outlines each workflow, along with a link the the action file, current status and short description. A lot of these automations were made possible using community actions contributed to GH marketplace by some amazing people."),(0,r.yg)("h3",{id:"code-processing"},"Code Processing"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"Action"),(0,r.yg)("th",{parentName:"tr",align:null},"Description"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Code Linter"),(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/code-linter.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/code-linter.yml/badge.svg",alt:"code-linter.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"After a pull request is created, all new code changes will be linted, and the CI will fail with a helpful message if the code has any formatting inconsistencies")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Code Spell Check"),(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/code-spell-check.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/code-spell-check.yml/badge.svg",alt:"code-spell-check.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"After a PR submitted, all auto-fixable spelling errors will be detected, then Liss-Bot will create a separate PR to propose the fixes")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Dependency Update Summary")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/dependency-updates-summary.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/dependency-updates-summary.yml/badge.svg",alt:"dependency-updates-summary.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"After a PR is submitted, if any of the dependencies are modified, then Liss-Bot will add a comment, explaining which packages have been added, removed, updated or downgraded, as well as other helpful info")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Get Size")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/get-size.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/get-size.yml/badge.svg",alt:"get-size.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Adds comment to PR if the size of the built + bundled application has changed compared to the previous version")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Security Scan")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/security-scanning.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/security-scanning.yml/badge.svg",alt:"security-scanning.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Uses Snyk to scan the code and dependencies after a PR. Will add a comment and cause the build to fail if a new vulnerability or potential issue is present")))),(0,r.yg)("h3",{id:"releases"},"Releases"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"Action"),(0,r.yg)("th",{parentName:"tr",align:null},"Description"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Create Tag")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/auto-tag-pr.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/auto-tag-pr.yml/badge.svg",alt:"auto-tag-pr.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Whenever the version indicated in package.json is updates, a new GitHub tag will be created for that point in time")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Build App")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/build-app.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/build-app.yml/badge.svg",alt:"build-app.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"After changes are merged into the master branch, the app will be build, with output pushed to the ",(0,r.yg)("inlineCode",{parentName:"td"},"dev-demo")," branch")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Cache Artifacts")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/cache-artifacts.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/cache-artifacts.yml/badge.svg",alt:"cache-artifacts.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"After build, returned files will be cached for future actions for that commit")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Docker Publish")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/docker-publish.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/docker-publish.yml/badge.svg",alt:"docker-publish.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"After PR is merged, the multi-architecture Docker container will be built, and then published to GHCR")))),(0,r.yg)("h3",{id:"issue-management"},"Issue Management"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"Action"),(0,r.yg)("th",{parentName:"tr",align:null},"Description"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Close Incomplete Issues")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/close-incomplete-issues.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/close-incomplete-issues.yml/badge.svg",alt:"close-incomplete-issues.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Issues which do not match any of the issue templates will be closed, and a comment posted explaining why")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Close Stale Issues")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/close-stale-issues.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/close-stale-issues.yml/badge.svg",alt:"close-stale-issues.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Issues which have not been updated for 6 weeks will have a comment posted to them. If the author does not reply within the next week, then the issue will be marked as stale and closed. The original author may still reopen the issue at any time")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Close Potential Spam Issues")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/issue-spam-control.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/issue-spam-control.yml/badge.svg",alt:"issue-spam-control.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Auto-closes issues, and adds a comment if it was submitted by a user who hasn't yet interacted with the repo, is new to GitHub and has not starred the repository. The comment will advise them to check their issue is complete, and then allow them to reopen it")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Issue Translator")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/issue-translator.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/issue-translator.yml/badge.svg",alt:"issue-translator.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Auto-translates any comments and issues that were written in any language other than English, and posts the translation as a comment below")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Label Sponsors")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/label-sponsors.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/label-sponsors.yml/badge.svg",alt:"label-sponsors.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Adds a special label to any issues or pull requests raised by users who are sponsoring the project via GitHub, so that they can get priority support")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"LGTM Comment"),(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/lgtm-comment.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/lgtm-comment.yml/badge.svg",alt:"lgtm-comment.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"When a PR review contains the words LGTM (looks good to me), the Liss-Bot will reply with a random celebratory or thumbs up GIF, just as a bit of fun")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Mind your Language")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/mind-your-language.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/mind-your-language.yml/badge.svg",alt:"mind-your-language.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Replies to any comment (on issue or PR) that contains profanities, offensive or inappropriate language with a polite note reminding the user of the code of conduct")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Release Notifier")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/release-commenter.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/release-commenter.yml/badge.svg",alt:"release-commenter.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Once a release has been published which fixes an issue, a comment will be added to the relevant issues informing the user who raised it that it was fixed in the current release")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Update Issue after Merge")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/update-issue-after-pr.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/update-issue-after-pr.yml/badge.svg",alt:"update-issue-after-pr.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"After a PR which fixes an issue is merged, Liss-Bot will add a comment to said issue based on the git commit message")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Auto Add Comment Based on Tag")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/add-comment-from-tag.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/add-comment-from-tag.yml/badge.svg",alt:"add-comment-from-tag.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Will add comment with useful info to certain issues, based on the tag applied")))),(0,r.yg)("h3",{id:"pr-management"},"PR Management"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"Action"),(0,r.yg)("th",{parentName:"tr",align:null},"Description"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"PR Commenter")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/pr-commenter.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/pr-commenter.yml/badge.svg",alt:"pr-commenter.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Adds comment with helpful info to pull requests, based on which files have been changes")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Issue from Todo Code")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/raise-issue-from-todo.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/raise-issue-from-todo.yml/badge.svg",alt:"raise-issue-from-todo.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"When a ",(0,r.yg)("inlineCode",{parentName:"td"},"todo")," note is found in the code after a PR, then Liss-Bot will automatically raise an issue, so that the todo can be addressed/ implemented. The issue will be closed once the todo has been implemented or removed")))),(0,r.yg)("h3",{id:"documentation--reports"},"Documentation & Reports"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"Action"),(0,r.yg)("th",{parentName:"tr",align:null},"Description"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Generate Credits")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/generate-credits.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/generate-credits.yml/badge.svg",alt:"generate-credits.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Generates a report, including contributors, collaborators, sponsors, bots and helpful users. Will then insert a markdown table with thanks to these GitHub users and links to their profiles into the Credits page, as well as a summary of sponsors and top contributors into the main readme")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},(0,r.yg)("strong",{parentName:"td"},"Wiki Sync")," ",(0,r.yg)("br",null),(0,r.yg)("a",{parentName:"td",href:"https://github.com/Lissy93/dashy/actions/workflows/wiki-sync.yml"},(0,r.yg)("img",{parentName:"a",src:"https://github.com/Lissy93/dashy/actions/workflows/wiki-sync.yml/badge.svg",alt:"wiki-sync.yml"}))),(0,r.yg)("td",{parentName:"tr",align:null},"Generates and publishes the repositories wiki page using the markdown files within the docs directory")))),(0,r.yg)("hr",null))}d.isMDXComponent=!0}}]);