Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ—‘οΈ Remove obsolete workflows

Alicia Sykesa1f95732707e
diff --git a/.github/workflows/auto-rebase-pr.yml b/.github/workflows/auto-rebase-pr.yml
deleted file mode 100644
index f08bb70d..00000000
--- a/.github/workflows/auto-rebase-pr.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# When a '/rebase' comment is added to a PR, it will be rebased from the main branch
-name: πŸ—οΈ Automatic PR Rebase
-on:
- issue_comment:
- types: [created]
-jobs:
- rebase:
- name: Rebase
- if: >
- github.event.issue.pull_request != ''
- && contains(github.event.comment.body, '/rebase')
- && github.event.comment.author_association == 'MEMBER'
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- fetch-depth: 0
- - name: Rebase
- uses: cirrus-actions/[email protected]
- env:
- GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
\ No newline at end of file
diff --git a/.github/workflows/check-merge-conflicts.yml b/.github/workflows/check-merge-conflicts.yml
deleted file mode 100644
index d00df142..00000000
--- a/.github/workflows/check-merge-conflicts.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-# Detect and label pull requests that have merge conflicts
-name: πŸ—οΈ Check Merge Conflicts
-on:
- push:
- branches:
- - master
-jobs:
- check-conflicts:
- runs-on: ubuntu-latest
- steps:
- - uses: mschilde/auto-label-merge-conflicts@master
- with:
- CONFLICT_LABEL_NAME: "🚫 Merge Conflicts"
- GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- MAX_RETRIES: 5
- WAIT_MS: 5000
diff --git a/.github/workflows/get-size.yml b/.github/workflows/get-size.yml
deleted file mode 100644
index d778e35a..00000000
--- a/.github/workflows/get-size.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-# Adds a comment to new PRs, showing the compressed size and size difference of new code
-# And also labels the PR based on the number of lines changes
-name: 🌈 Check PR Size
-on: [pull_request]
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- # Find and comment with compressed size
- - name: Get Compressed Size
- uses: preactjs/compressed-size-action@v2
- with:
- repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- pattern: './dist/**/*.{js,css,html}'
- strip-hash: '\\b\\w{8}\\.'
- exclude: '{./dist/manifest.json,**/*.map,**/node_modules/**}'
- minimum-change-threshold: 100
- # Check number of lines of code added
- - name: Label based on Lines of Code
- uses: codelytv/pr-size-labeler@v1
- with:
- GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- xs_max_size: '10'
- s_max_size: '100'
- m_max_size: '500'
- l_max_size: '1000'
- s_label: '🟩 PR - Small'
- m_label: '🟨 PR - Medium'
- l_label: '🟧 PR - Large'
- xl_label: 'πŸŸ₯ PR - XL'
- fail_if_xl: 'false'
- message_if_xl: >
- It looks like this PR is very large (over 1000 lines).
- Try to avoid addressing multiple issues in a single PR, and
- in the future consider breaking large tasks down into smaller steps.
- This it to make reviewing, testing, reverting and general quality management easier.
diff --git a/.github/workflows/lgtm-comment.yml b/.github/workflows/lgtm-comment.yml
deleted file mode 100644
index d0ccf496..00000000
--- a/.github/workflows/lgtm-comment.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-# Replies with a random looks-good GIF, when a PR is reviewed with a LGTM comment
-name: πŸ’‘ Random LGTM GIF
-on:
- issue_comment: { types: [created] }
- pull_request_review: { types: [submitted] }
-jobs:
- post:
- runs-on: ubuntu-latest
- if: (!contains(github.actor, '[bot]')) # Exclude bot comment
- steps:
- - uses: ddradar/choose-random-action@v1
- id: act
- with:
- contents: |
- https://media4.giphy.com/media/11ISwbgCxEzMyY/giphy.gif
- https://media4.giphy.com/media/SgwPtMD47PV04/giphy.gif
- https://media1.giphy.com/media/3orifdxwbvVLfS3CrS/giphy.gif
- https://media4.giphy.com/media/RPwrO4b46mOdy/giphy.gif
- https://media2.giphy.com/media/3o7abGQa0aRJUurpII/giphy.gif
- https://media3.giphy.com/media/ZZrDTGSJXlHW9Y2khu/giphy.gif
- https://media3.giphy.com/media/5DQdk5oZzNgGc/giphy.gif
- https://media4.giphy.com/media/3o7abB06u9bNzA8lu8/giphy.gif
- https://media4.giphy.com/media/l2JJrEx9aRsjNruhi/giphy.gif
- - uses: ddradar/lgtm-action@v1
- with:
- image-url: ${{ steps.act.outputs.selected }}
- token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
\ No newline at end of file
diff --git a/.github/workflows/manage-pending-labels-closed.yml b/.github/workflows/manage-pending-labels-closed.yml
deleted file mode 100644
index 10a05894..00000000
--- a/.github/workflows/manage-pending-labels-closed.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-# When a new comment is added to an issue, if it had the Stale or Awaiting User Response labels,
-# then those labels will be removed, providing it was not user lissy93 who added the commend.
-name: 🎯 Remove Pending Labels on Close
-on:
- issues:
- types: [closed]
-jobs:
- remove-labels:
- runs-on: ubuntu-latest
- steps:
- - name: Remove Labels when Closed
- uses: actions-cool/issues-helper@v2
- with:
- actions: remove-labels
- token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- issue-number: ${{ github.event.issue.number }}
- labels: '🚏 Awaiting User Response,⚰️ Stale,πŸ‘€ Awaiting Maintainer Response'
diff --git a/.github/workflows/manage-pending-labels.yml b/.github/workflows/manage-pending-labels.yml
deleted file mode 100644
index 46d48a32..00000000
--- a/.github/workflows/manage-pending-labels.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-# When a new comment is added to an issue, if it had the Stale or Awaiting User Response labels,
-# then those labels will be removed, providing it was not user lissy93 who added the commend.
-name: 🎯 Add/ Remove Awaiting Response Labels
-on:
- issue_comment:
- types: [created]
-jobs:
- remove-stale:
- runs-on: ubuntu-latest
- if: ${{ github.event.comment.author_association != 'COLLABORATOR' && github.event.comment.author_association != 'OWNER' }}
- steps:
- - name: Remove Stale labels when Updated
- uses: actions-cool/issues-helper@v2
- with:
- actions: remove-labels
- token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- issue-number: ${{ github.event.issue.number }}
- labels: '🚏 Awaiting User Response,⚰️ Stale'
-
- add-awaiting-author:
- runs-on: ubuntu-latest
- if: ${{!github.event.issue.pull_request && github.event.comment.author_association != 'COLLABORATOR' && github.event.comment.author_association != 'OWNER' && github.event.issue.state == 'open' }}
- steps:
- - name: Add Awaiting Author labels when Updated
- uses: actions-cool/issues-helper@v2
- with:
- actions: add-labels
- token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- issue-number: ${{ github.event.issue.number }}
- labels: 'πŸ‘€ Awaiting Maintainer Response'
-
- remove-awaiting-author:
- runs-on: ubuntu-latest
- if: ${{ github.event.comment.author_association == 'OWNER' }}
- steps:
- - name: Remove Awaiting Author labels when Updated
- uses: actions-cool/issues-helper@v2
- with:
- actions: remove-labels
- token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- issue-number: ${{ github.event.issue.number }}
- labels: 'πŸ‘€ Awaiting Maintainer Response'