🏗️ 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 # 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: on:
issues: issues:
types: types:

View File

@ -1,5 +1,5 @@
# Creates a new tag, whenever the app version (in package.json) is updated in master # 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: on:
push: push:
branches: branches:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
# Builds a Docker image from with latest tag when master branch is updated # Builds a Docker image from with latest tag when master branch is updated
# The publishes it to GitHub container registry as a package # 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: on:
workflow_dispatch: workflow_dispatch:
push: push:

View File

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

View File

@ -1,5 +1,5 @@
# Adds a comment to new PRs, showing the compressed size and size difference of new code # 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] on: [pull_request]
jobs: jobs:
build: build:
@ -7,3 +7,6 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: preactjs/compressed-size-action@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 # 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 # 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: on:
issues: issues:
types: [opened, reopened] 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 # Will translate any issues opened in foraign language, and add the English translation as a comment
name: 'Issue Translator' name: 🎯 Issue Translator
on: on:
issue_comment: issue_comment:
types: [created] types: [created]

View File

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

View File

@ -1,5 +1,5 @@
# Replies with a random looks-good GIF, when a PR is reviewed with a LGTM comment # 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: on:
issue_comment: { types: [created] } issue_comment: { types: [created] }
pull_request_review: { types: [submitted] } pull_request_review: { types: [submitted] }

View File

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

View File

@ -1,5 +1,5 @@
# Adds comments to PR, based on which files are modified # Adds comments to PR, based on which files are modified
name: PR Commenter name: 💡 PR Commenter
on: [ pull_request_target ] on: [ pull_request_target ]
jobs: jobs:
pr-comment: 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 # Finds any TO-DO notes within the code, and opens up an issue for it to be fixed
name: Open issue for Todos name: 🌈 Open issue for Todos
on: ["push"] on: ["push"]
jobs: jobs:
build: build:

View File

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

View File

@ -1,5 +1,5 @@
# Uses Snyk to check for potential vulnerabilities, then sends results to GH security tab # 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 on: push
jobs: jobs:
security: 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 # Uses the contents of the ./docs directory for Dashy's GH Wiki page
name: Wiki Sync name: 📊 Wiki Sync
on: on:
workflow_dispatch: # Manual dispatch workflow_dispatch: # Manual dispatch
schedule: schedule: