diff --git a/.github/workflows/apply-done-label.yml b/.github/workflows/apply-done-label.yml deleted file mode 100644 index 2b101f59..00000000 --- a/.github/workflows/apply-done-label.yml +++ /dev/null @@ -1,13 +0,0 @@ -# When a PR is merged, any associated issues will have a Done label applied -# The label will depend on the issue type, see: ./github/close-label.yml -name: πŸ’‘ Apply Done Label -on: - pull_request: - types: [opened, merged, closed] -jobs: - triage: - runs-on: ubuntu-latest - steps: - - uses: logerfo/close-label@0.0.4 - with: - repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/assign-reviewer.yml b/.github/workflows/assign-reviewer.yml deleted file mode 100644 index bba9cc07..00000000 --- a/.github/workflows/assign-reviewer.yml +++ /dev/null @@ -1,15 +0,0 @@ -# Automatically assigns the author as a reviewer to opened PRs and issues -name: πŸ’‘ Auto-Assign Author to PR -on: - pull_request: - types: [opened] - issues: - types: [opened] -jobs: - assign-author: - runs-on: ubuntu-latest - steps: - - name: Assign author - uses: technote-space/assign-author@v1 - with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml deleted file mode 100644 index 02c25696..00000000 --- a/.github/workflows/build-app.yml +++ /dev/null @@ -1,25 +0,0 @@ -# This action builds and deploys the master branch -name: πŸ—οΈ Build App to Branch -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - workflow_dispatch: -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout πŸ›ŽοΈ - uses: actions/checkout@v2.3.1 - - name: Install and Build πŸ”§ - run: | - npm install - npm run build - - name: Deploy πŸš€ - uses: JamesIves/github-pages-deploy-action@4.1.4 - if: ${{ github.repository_owner == 'lissy93' }} - with: - branch: dev-demo - folder: dist - diff --git a/.github/workflows/cache-artifacts.yml b/.github/workflows/cache-artifacts.yml deleted file mode 100644 index d946b65e..00000000 --- a/.github/workflows/cache-artifacts.yml +++ /dev/null @@ -1,13 +0,0 @@ -# Caches artifacts, including NPM dependencies, to speed up build times -name: πŸ—οΈ Caching Artifacts -on: push -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- diff --git a/.github/workflows/check-duplicate-issues.yml b/.github/workflows/check-duplicate-issues.yml deleted file mode 100644 index 3641fa78..00000000 --- a/.github/workflows/check-duplicate-issues.yml +++ /dev/null @@ -1,22 +0,0 @@ -# Attempts to auto-detect weather an issue is a duplicate, and adds a comment -name: 🎯 Issue Duplicate Check -on: - issues: - types: [opened, edited] -jobs: - check-duplicate: - runs-on: ubuntu-latest - steps: - - uses: wow-actions/potential-duplicates@v1 - with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - filter: '' - exclude: '[BUG] [QUESTION] [FEEDBACK] [SHOWCASE]' - label: 'πŸ•ΈοΈ Potential Duplicate' - state: all - threshold: 0.75 - reactions: 'eyes' - comment: > - Potential duplicates: {{#issues}} - - [#{{ number }}] {{ title }} ({{ accuracy }}%) - {{/issues}} \ No newline at end of file diff --git a/.github/workflows/code-linter.yml b/.github/workflows/code-linter.yml deleted file mode 100644 index c0a12d0f..00000000 --- a/.github/workflows/code-linter.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Lints code merged into master branch -name: 🌈 Lint Code Base -on: - pull_request: - branches: [master] -jobs: - build: - name: Lint Code Base - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Lint Code Base - uses: github/super-linter@v4 - env: - VALIDATE_ALL_CODEBASE: false - DEFAULT_BRANCH: master - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/code-spell-check.yml b/.github/workflows/code-spell-check.yml deleted file mode 100644 index 0a062445..00000000 --- a/.github/workflows/code-spell-check.yml +++ /dev/null @@ -1,30 +0,0 @@ -# Finds typos in the English language within the app, submits a PR with fixes -name: 🌈 Spelling Auto-Fix -on: - push: - branches: [ master ] - pull_request: - types: [opened] - workflow_dispatch: -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - if: startsWith(github.head_ref, 'AUTO/') == false - uses: actions/checkout@v2 - - name: Spell Check - if: startsWith(github.head_ref, 'AUTO/') == false - uses: sobolevn/misspell-fixer-action@master - - name: Create PR - uses: peter-evans/create-pull-request@v3.10.1 - if: startsWith(github.head_ref, 'AUTO/') == false - with: - token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - base: master - commit-message: ':pencil2: Auto-fix typos in text' - title: '[AUTO] Fix spelling and language' - branch: 'AUTO/spelling-corrections' - committer: 'Liss-Bot ' - assignees: Lissy93 - reviewers: Lissy93 diff --git a/.github/workflows/docs-link-checker.yml b/.github/workflows/docs-link-checker.yml deleted file mode 100644 index c344774c..00000000 --- a/.github/workflows/docs-link-checker.yml +++ /dev/null @@ -1,33 +0,0 @@ -# Checks for any broken links in the docs, and raises an issue if found -name: 🌈 Broken Link Checker -on: - repository_dispatch: - workflow_dispatch: - schedule: - - cron: '0 1 1 * *' # Run monthly -jobs: - link-checker: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Load Excludes - run: | - LYCHEE_EXCLUDE=$(sed -e :a -e 'N;s/\n/ /;ta' .github/.lycheeexclude) - echo "LYCHEE_EXCLUDE=$LYCHEE_EXCLUDE" >> $GITHUB_ENV - - - name: Check for Broken Links - uses: lycheeverse/lychee-action@v1.0.8 - with: - args: --verbose -a 200,302,304,429 --exclude ${{ env.LYCHEE_EXCLUDE }} --exclude-mail --no-progress **/*.md - env: - GITHUB_TOKEN: ${{secrets.BOT_GITHUB_TOKEN}} - LYCHEE_OUT: .github/broken-link-report.md - - - name: Raise an Issue with Results - uses: peter-evans/create-issue-from-file@v3 - with: - token: ${{secrets.BOT_GITHUB_TOKEN}} - title: '[DOCS] Broken Links found in Documentation' - content-filepath: .github/broken-link-report.md - labels: 'πŸ“• Docs, πŸ‘©β€πŸ’» Good First Issue, πŸ’€ Low Priority, πŸ€– Auto' \ No newline at end of file diff --git a/.github/workflows/issue-translator.yml b/.github/workflows/issue-translator.yml deleted file mode 100644 index c7db30ce..00000000 --- a/.github/workflows/issue-translator.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Will translate any issues opened in foraign language, and add the English translation as a comment -name: 🎯 Issue Translator -on: - issue_comment: - types: [created] - issues: - types: [opened] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: tomsun28/issues-translate-action@v2.5 - with: - BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - BOT_LOGIN_NAME: liss-bot - IS_MODIFY_TITLE: true - CUSTOM_BOT_NOTE: It looks like this issue isn't in English - not a problem, here's the translation! πŸ‡¬πŸ‡§ diff --git a/.github/workflows/label-sponsors.yml b/.github/workflows/label-sponsors.yml deleted file mode 100644 index 5acab87d..00000000 --- a/.github/workflows/label-sponsors.yml +++ /dev/null @@ -1,16 +0,0 @@ -# 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 -on: - issues: - types: [opened] -jobs: - build: - name: is-sponsor-label - runs-on: ubuntu-latest - steps: - - uses: JasonEtco/is-sponsor-label-action@v1 - with: - label: Priority Request - Sponsor πŸ’– - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/label-top-issues.yml b/.github/workflows/label-top-issues.yml deleted file mode 100644 index fc6d6ba7..00000000 --- a/.github/workflows/label-top-issues.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Applies the 'Top Issue' label to tickets with most user reactions -name: 🎯 Label Top Issues -on: - workflow_dispatch: - schedule: - - cron: '0 1 * * *' # Run at 01:00 each day -jobs: - labelTopIssues: - name: Label Top Issues - runs-on: ubuntu-latest - steps: - - name: Label Issues - uses: adamzolyak/top-issues-action@master - env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - TOP_NUMBER_OF_ISSUES: 10 - TOP_LABEL_NAME: "πŸ‘ Top 10 Issue!" - TOP_LABEL_COLOR: FBCA04 diff --git a/.github/workflows/mind-your-language.yml b/.github/workflows/mind-your-language.yml deleted file mode 100644 index a4bf8590..00000000 --- a/.github/workflows/mind-your-language.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Detects offensive language in comments and takes reaction -name: 🎯 Mind your language -on: - issues: - types: [opened] - issue_comment: - types: [created] - pull_request: - types: [opened] -jobs: - echo_issue_comment: - runs-on: ubuntu-latest - name: profanity check - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Profanity check step - uses: tailaiw/mind-your-language-action@v1.0.3 - env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/pr-commenter.yml b/.github/workflows/pr-commenter.yml deleted file mode 100644 index 8e13f6d3..00000000 --- a/.github/workflows/pr-commenter.yml +++ /dev/null @@ -1,13 +0,0 @@ -# Adds comments to PR, based on which files are modified -name: πŸ’‘ PR Commenter -on: [ pull_request_target ] -jobs: - pr-comment: - runs-on: ubuntu-latest - steps: - - uses: exercism/pr-commenter-action@v1.3.0 - with: - github-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - config-file: .github/pr-auto-comments.yml - template-variables: | - { "prAuthor": "${{ github.event.pull_request.user.login }}" } diff --git a/.github/workflows/pr-labler.yml b/.github/workflows/pr-labler.yml deleted file mode 100644 index c65ad46c..00000000 --- a/.github/workflows/pr-labler.yml +++ /dev/null @@ -1,12 +0,0 @@ -# Labels pull requests based on their branch name -name: πŸ’‘ PR Branch Labeler -on: pull_request -jobs: - label-pr: - runs-on: ubuntu-latest - steps: - - name: Label PR - if: github.event.action == 'opened' - uses: ffittschen/pr-branch-labeler@v1 - with: - repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/raise-issue-from-todo.yml b/.github/workflows/raise-issue-from-todo.yml deleted file mode 100644 index 18d229f9..00000000 --- a/.github/workflows/raise-issue-from-todo.yml +++ /dev/null @@ -1,13 +0,0 @@ -# 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: - runs-on: "ubuntu-latest" - steps: - - uses: "actions/checkout@master" - - name: "TODO to Issue" - uses: "alstr/todo-to-issue-action@v4.2" - id: "todo" - with: - TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/repo-visualization.yml b/.github/workflows/repo-visualization.yml deleted file mode 100644 index 3d5db92e..00000000 --- a/.github/workflows/repo-visualization.yml +++ /dev/null @@ -1,92 +0,0 @@ -# Generates series of diagrams and visualizations -name: πŸ“Š Generate Repo Stats -on: - workflow_dispatch: # Manual dispatch - schedule: - - cron: '0 1 * * 0' # At 01:00 on Sunday. - -jobs: - # File structure chart - file-structure: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@master - - name: Generate File Structure Diagram - uses: githubocto/repo-visualizer@0.7.1 - with: - root_path: 'src/' - output_file: docs/assets/repo-visualization.svg - excluded_paths: dist,node_modules - commit_message: ':yellow_heart: Updates repo diagram' - branch: master - - # Hercules git branching stats - git-stats: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@master - with: - fetch-depth: 0 - - name: Hercules - uses: src-d/hercules@master - - uses: actions/upload-artifact@master - with: - name: hercules_charts - path: hercules_charts.tar - - # Lowlighter metrics community metrics - community-stats: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@master - - name: Generate Repo Metrics - uses: lowlighter/metrics@latest - with: - token: ${{ secrets.LISSY93_PAT }} - committer_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - committer_branch: master - committer_message: ':purple_heart: Adds repo metrics' - filename: docs/assets/repo-metrics.* - template: classic - user: Lissy93 - repo: dashy - delay: 5 - - - name: Generate License Metrics - uses: lowlighter/metrics@latest - with: - token: ${{ secrets.LISSY93_PAT }} - committer_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - committer_branch: master - committer_message: ':purple_heart: Adds license metrics' - filename: docs/assets/license-metrics.* - template: repository - user: Lissy93 - repo: dashy - delay: 5 - plugin_licenses: yes - plugin_licenses_setup: yarn build - plugin_licenses_ratio: yes - plugin_licenses_legal: yes - - - name: Generate Contributor Metrics - uses: lowlighter/metrics@latest - with: - token: ${{ secrets.LISSY93_PAT }} - committer_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - committer_branch: master - committer_message: ':purple_heart: Adds contributor metrics' - filename: docs/assets/controbutor-metrics.* - user: Lissy93 - repo: dashy - delay: 5 - plugin_contributors: yes - plugin_contributors_base: "" - plugin_contributors_head: master - plugin_contributors_ignored: bot - plugin_contributors_contributions: yes - plugin_contributors_sections: contributors - \ No newline at end of file diff --git a/.github/workflows/save-repo-analytics.yml b/.github/workflows/save-repo-analytics.yml deleted file mode 100644 index 962a09ca..00000000 --- a/.github/workflows/save-repo-analytics.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: πŸ“Š Save Repo Analytics -on: - workflow_dispatch: - schedule: - - cron: '0 1 * * 0' # At 01:00 on Sunday. -jobs: - gen-stats: - runs-on: ubuntu-latest - steps: - - name: Repo Analytics - uses: jgehrcke/github-repo-stats@HEAD - with: - repository: lissy93/dashy - databranch: DATA/repo-stats - ghtoken: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/security-scanning.yml b/.github/workflows/security-scanning.yml deleted file mode 100644 index 84f7b474..00000000 --- a/.github/workflows/security-scanning.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Uses Snyk to check for potential vulnerabilities, then sends results to GH security tab -name: πŸ’‘ Vulnerability Scanning -on: push -jobs: - security: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: Run Snyk to check for vulnerabilities - uses: snyk/actions/node@master - continue-on-error: true - env: - SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} - with: - args: --sarif-file-output=snyk.sarif - - name: Upload result to GitHub Code Scanning - uses: github/codeql-action/upload-sarif@v1 - with: - sarif_file: snyk.sarif diff --git a/.github/workflows/unfurl-links.yml b/.github/workflows/unfurl-links.yml deleted file mode 100644 index c2a2146d..00000000 --- a/.github/workflows/unfurl-links.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Expands any raw pasted link in comments. Useful so people know what they're clicking -name: 🎯 Unfurl Links -on: - issues: - types: [opened] - issue_comment: - types: [created] - pull_request: - types: [opened] -jobs: - run: - runs-on: ubuntu-latest - steps: - - uses: wow-actions/unfurl-links@v1 - with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - raw: true