From 3e50636c042ddff77d623ea1328fd25832dbb55d Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Fri, 18 Jul 2025 18:55:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=20=20Remove=20no-longer=20needed?= =?UTF-8?q?=20workflows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/add-comment-from-tag.yml | 27 -------- .github/workflows/close-incomplete-issues.yml | 21 ------ .github/workflows/generate-credits.yml | 68 ------------------- .github/workflows/release-commenter.yml | 17 ----- 4 files changed, 133 deletions(-) delete mode 100644 .github/workflows/add-comment-from-tag.yml delete mode 100644 .github/workflows/close-incomplete-issues.yml delete mode 100644 .github/workflows/generate-credits.yml delete mode 100644 .github/workflows/release-commenter.yml diff --git a/.github/workflows/add-comment-from-tag.yml b/.github/workflows/add-comment-from-tag.yml deleted file mode 100644 index 64d7932f..00000000 --- a/.github/workflows/add-comment-from-tag.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Based on a label applied to an issue, the bot will add a comment with some additional info -name: đŸŽ¯ Auto-Reply to Labeled Tickets -on: - issues: - types: - - labeled - - unlabeled - pull_request_target: - types: - - labeled - - unlabeled -permissions: - contents: read - issues: write - pull-requests: write - -jobs: - comment: - runs-on: ubuntu-20.04 - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Label Commenter - uses: peaceiris/actions-label-commenter@v1 - with: - config_file: .github/issue-auto-comments.yml - github_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/close-incomplete-issues.yml b/.github/workflows/close-incomplete-issues.yml deleted file mode 100644 index 61331f6c..00000000 --- a/.github/workflows/close-incomplete-issues.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Close any issue that does not match any of the issue templates -name: đŸŽ¯ Close Incomplete Issues -on: - issues: - types: [opened, edited] -jobs: - auto_close_issues: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v1 - - name: Automatically close issues that don't follow the issue template - uses: lucasbento/auto-close-issues@v1.0.2 - with: - github-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - closed-issues-label: '🙁 Auto-Closed' - issue-close-message: | - Hello @${issue.user.login} 👋 - Unfortunately your issue does not follow the format outlined in the template, and has therefore been auto-closed. - To ensure that all relevant info is included, please either update or recreate your issue, and complete the sub-headings provided. - Thank you :) diff --git a/.github/workflows/generate-credits.yml b/.github/workflows/generate-credits.yml deleted file mode 100644 index 0ec6a208..00000000 --- a/.github/workflows/generate-credits.yml +++ /dev/null @@ -1,68 +0,0 @@ -# Inserts list of contributors and community members into ./docs/credits.md -# Also generates an SVG showing all contributors, which is embedded into readme -name: 📊 Generate Contributor Credits -on: - workflow_dispatch: # Manual dispatch - schedule: - - cron: '0 1 * * 0' # At 01:00 on Sunday. -jobs: - # Job #1 - Generate an embedded SVG asset, showing all contributors - generate-contributors: - runs-on: ubuntu-latest - steps: - - uses: bubkoo/contributors-list@v1 - with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - svgPath: docs/assets/CONTRIBUTORS.svg - affiliation: all - includeBots: false - excludeUsers: BeginCI snyk-bot - avatarSize: 96 - userNameHeight: 20 - svgWidth: 830 - commitMessage: ':blue_heart: Updates contributor SVG' - # Job #2 - Fetches sponsors and inserts into readme and credits page - insert-sponsors: - runs-on: ubuntu-latest - steps: - - name: Checkout đŸ›Žī¸ - uses: actions/checkout@v2 - - name: Generate Sponsors in Readme 💖 - uses: JamesIves/github-sponsors-readme-action@1.0.5 - with: - token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - file: 'README.md' - - name: Generate Sponsors in Credits 💖 - uses: JamesIves/github-sponsors-readme-action@1.0.5 - with: - token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - file: 'docs/credits.md' - # Job #3 - Update the Credits page - insert-credits: - runs-on: ubuntu-latest - name: Inserts contributors into credits.md - steps: - - name: Contributer List - Credits Page - uses: akhilmhdh/contributors-readme-action@v2.3.6 - env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - with: - image_size: 80 - readme_path: docs/credits.md - columns_per_row: 6 - commit_message: ':purple_heart: Updates contributors list' - collaborators: all - committer_username: liss-bot - committer_email: liss-bot@d0h.co - - name: Sponsors List - Readme - uses: akhilmhdh/contributors-readme-action@v2.2 - env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - with: - image_size: 80 - readme_path: README.md - columns_per_row: 6 - commit_message: ':yellow_heart: Updates sponsors table' - committer_username: liss-bot - committer_email: liss-bot@d0h.co - diff --git a/.github/workflows/release-commenter.yml b/.github/workflows/release-commenter.yml deleted file mode 100644 index eff58e1c..00000000 --- a/.github/workflows/release-commenter.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Adds a comment to all issues & PRs that were fixed on a new release -name: 💡 Update Issue after Release -on: - release: - types: [published] -jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: apexskier/github-release-commenter@v1 - with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - label-template: đŸ›Šī¸ Released {release_tag} - comment-template: | - **This has now been released in {release_name} ✨** - - If you haven't done so already, please [update your instance](https://github.com/Lissy93/dashy/blob/master/docs/management.md#updating) to `{release_tag}` or later. See {release_link} for full info.