🏗️ Renamed workflows to be more logical

This commit is contained in:
Alicia Sykes 2021-09-12 21:45:41 +01:00
parent 0aca363841
commit 0f33a8fca8
23 changed files with 28 additions and 36 deletions

View File

@ -1,5 +1,5 @@
# Based on a label applied to an issue, the bot will add a comment with some additional info
name: Post Status from Label
name: 🎯 Auto-Reply to Labeled Tickets
on:
issues:
types:

View File

@ -1,5 +1,5 @@
# Creates a new tag, whenever the app version (in package.json) is updated in master
name: Create Tag
name: 🏗️ Create Tag on Version Change
on:
push:
branches:

View File

@ -1,5 +1,5 @@
# This action builds and deploys the master branch
name: Deploy demo of current version
name: 🏗️ Build App to Branch
on:
push:
branches: [ master ]

View File

@ -1,5 +1,5 @@
# Caches artifacts, including NPM dependencies, to speed up build times
name: Caching Atrifacts
name: 🏗️ Caching Artifacts
on: push
jobs:
build:

View File

@ -1,5 +1,5 @@
# Close any issue that does not match any of the issue templates
name: Close Non-Compliant Issues
name: 🎯 Close Incomplete Issues
on:
issues:
types: [opened, edited]

View File

@ -1,5 +1,5 @@
# Closes any issues that no longer have user interaction
name: 'Close stale issues and PRs'
name: 🎯 Close Stale Issues
on:
workflow_dispatch:
schedule:

View File

@ -1,5 +1,5 @@
# Lints code merged into master branch
name: Lint Code Base
name: 🌈 Lint Code Base
on:
pull_request:
branches: [master]

View File

@ -1,5 +1,5 @@
# Finds typos in the English language within the app, submits a PR with fixes
name: Auto-Fix Spelling
name: 🌈 Spelling Auto-Fix
on:
push:
branches: [ master ]

View File

@ -1,6 +1,6 @@
# Shows changes to yarn.lock in PR comment
# Useful for easily understanding dependency changes
name: Yarn Lock Changes
# Shows changes to any yarn.lock in PR comment
# Useful for easily understanding dependency changes and consequences
name: 💡 Show Dependency Changes
on: [pull_request]
jobs:
check:

View File

@ -1,6 +1,6 @@
# Builds a Docker image from with latest tag when master branch is updated
# The publishes it to GitHub container registry as a package
name: Build and Publish Docker Image to GHCR
name: 🏗️ Build + Publish Docker Image to GHCR
on:
workflow_dispatch:
push:

View File

@ -1,6 +1,6 @@
# Inserts list of contributors and community members into ./docs/credits.md
# Also generates an SVG showing all contributors, which is embedded into readme
name: Contributors
name: 📊 Generate Contributor Credits
on:
workflow_dispatch: # Manual dispatch
schedule:

View File

@ -1,5 +1,5 @@
# Adds a comment to new PRs, showing the compressed size and size difference of new code
name: Compressed Size
name: 🌈 Get Compressed Size
on: [pull_request]
jobs:
build:
@ -7,3 +7,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: preactjs/compressed-size-action@v2
with:
repo-token: ${{ secrets.BOT_GITHUB_TOKEN }}
pattern: "./dist/**/**"

View File

@ -1,6 +1,6 @@
# Will add a comment and close new issues opened by users that may be spam, or have not starred
# Is still a work in progress, will also detect if user has previous activity in repo and check when joined GH
name: Issue Spam Control
name: 🎯 Issue Spam Control
on:
issues:
types: [opened, reopened]

View File

@ -1,5 +1,5 @@
# Will translate any issues opened in foraign language, and add the English translation as a comment
name: 'Issue Translator'
name: 🎯 Issue Translator
on:
issue_comment:
types: [created]

View File

@ -1,6 +1,6 @@
# Adds a label to any issues raised by a sponsor of Lissy93/Dashy
# In order to allow their request can be prioritized
name: Label sponsors
name: 🎯 Label sponsors
on:
pull_request:
types: [opened]

View File

@ -1,5 +1,5 @@
# Replies with a random looks-good GIF, when a PR is reviewed with a LGTM comment
name: Add Random LGTM GIF
name: 💡 Random LGTM GIF
on:
issue_comment: { types: [created] }
pull_request_review: { types: [submitted] }

View File

@ -1,5 +1,5 @@
# Detects offensive language in comments and takes reaction
name: Mind your language
name: 🎯 Mind your language
on:
issues:
types:

View File

@ -1,5 +1,5 @@
# Adds comments to PR, based on which files are modified
name: PR Commenter
name: 💡 PR Commenter
on: [ pull_request_target ]
jobs:
pr-comment:

View File

@ -1,5 +1,5 @@
# Finds any TODO notes within the code, and opens up an issue for it to be fixed
name: Open issue for Todos
# Finds any TO-DO notes within the code, and opens up an issue for it to be fixed
name: 🌈 Open issue for Todos
on: ["push"]
jobs:
build:

View File

@ -1,5 +1,5 @@
# Adds a comment to all issues & PRs that were fixed on a new release
name: Release Issue Commenter
name: 💡 Update Issue after Release
on:
release:
types: [published]

View File

@ -1,5 +1,5 @@
# Uses Snyk to check for potential vulnerabilities, then sends results to GH security tab
name: Check for vulnerabilities with Snyk
name: 💡 Vulnerability Scanning
on: push
jobs:
security:

View File

@ -1,11 +0,0 @@
# After a PR is merged, the linked issue will be updated with a comment, based on commit message
name: Update Issue After PR
on: push
jobs:
checkCommit:
name: Comment From Commit
runs-on: ubuntu-latest
steps:
- uses: adamzolyak/commit-issue-commenter-action@master
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}

View File

@ -1,5 +1,5 @@
# Uses the contents of the ./docs directory for Dashy's GH Wiki page
name: Wiki Sync
name: 📊 Wiki Sync
on:
workflow_dispatch: # Manual dispatch
schedule: