From 28870c46f83703bad42f3b9f186915ee25cb8c8a Mon Sep 17 00:00:00 2001 From: ElektroVodka <211697683+Elektr0Vodka@users.noreply.github.com> Date: Tue, 1 Dec 2026 18:44:17 +0100 Subject: [PATCH] ci: keep workflows inside this repository Drop everything that targets a repository or domain that is not ours: - github-pages: published the upstream docs with the docs.meshcore.io CNAME - stale-bot: only ever ran on meshcore-dev/MeshCore --- .github/workflows/github-pages.yml | 36 ------------------------------ .github/workflows/stale-bot.yml | 32 -------------------------- 2 files changed, 68 deletions(-) delete mode 100644 .github/workflows/github-pages.yml delete mode 100644 .github/workflows/stale-bot.yml diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml deleted file mode 100644 index b01ddc939cd..00000000000 --- a/.github/workflows/github-pages.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Build and deploy Docs site to GitHub Pages - -on: - workflow_dispatch: - push: - branches: - - main - -permissions: - contents: write - -jobs: - github-pages: - runs-on: ubuntu-latest - steps: - - - name: Checkout Repo - uses: actions/checkout@v6 - - - name: Setup Python - uses: actions/setup-python@v6 - with: - python-version: '3.13' - - - name: Build - run: | - pip install mkdocs-material - mkdocs build - - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v4.1.0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - cname: docs.meshcore.io - publish_dir: ./site - publish_branch: 'gh-pages' diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml deleted file mode 100644 index ec166587563..00000000000 --- a/.github/workflows/stale-bot.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: 'Run Stale Bot' -on: - schedule: - - cron: '30 1 * * *' # daily at 1:30am - workflow_dispatch: {} - -permissions: - actions: write - issues: write - pull-requests: write - -jobs: - close-issues: - # only run on main repo, not forks - if: github.repository == 'meshcore-dev/MeshCore' - runs-on: ubuntu-latest - steps: - - name: Close Stale Issues - uses: actions/stale@v10 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - # auto close issues - days-before-issue-stale: 60 - days-before-issue-close: 7 - exempt-issue-labels: "keep-open" - stale-issue-label: "stale" - stale-issue-message: "This issue is stale because it has been open for 60 days with no activity. Remove the stale label or add a comment if this issue is still relevant, otherwise this issue will automatically close in 7 days." - close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale." - # don't auto close prs - days-before-pr-stale: -1 - days-before-pr-close: -1 - \ No newline at end of file