From 3c24eeea2518cd1685da71fd44cc4bc51cb8c4a6 Mon Sep 17 00:00:00 2001 From: Amy Jeanes Date: Sun, 13 Sep 2026 18:16:44 +0100 Subject: [PATCH] ci: remove stale disabled workflows (#1994) Both are disabled in the Actions tab and have not run in months: - Release Drafter (release-drafter.yml) and its config .github/release-drafter.yml: last run 2025-12-18 - Debug Discourse Posting (test-discourse.yaml.yml): one-off debug workflow from #1435, last run 2025-10-28 The post-to-discourse composite action is kept; the prebuilt workflow still uses it. docs, stale and jenkins scan are also disabled here but are inherited from commaai/openpilot and left in place to avoid modify/delete conflicts on every upstream sync. Claude-Session: https://claude.ai/code/session_01WAnUCRcA7Hp68qxyL11Wvm Co-authored-by: Claude Fable 5.1 Co-authored-by: James Vecellio-Grant <159560811+Discountchubbs@users.noreply.github.com> --- .github/release-drafter.yml | 43 ------------- .github/workflows/release-drafter.yml | 28 -------- .github/workflows/test-discourse.yaml.yml | 78 ----------------------- 3 files changed, 149 deletions(-) delete mode 100644 .github/release-drafter.yml delete mode 100644 .github/workflows/release-drafter.yml delete mode 100644 .github/workflows/test-discourse.yaml.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index a868ebb11c..0000000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,43 +0,0 @@ -exclude-labels: - - 'no-changelog' -categories: - - title: '๐Ÿš€ Features' - labels: - - 'feature' - - 'enhancement' - - title: '๐Ÿ› Bug Fixes' - collapse-after: 5 - labels: - - 'fix' - - 'bugfix' - - 'bug' - - title: '๐Ÿงฐ Maintenance' - collapse-after: 5 - label: 'chore' -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' -change-title-escapes: '\<*_&' -replacers: - - search: '/[Ss][Uu][Nn][Nn][Yy][Pp][Ii][Ll][Oo][Tt]/g' - replace: 'sunnypilot' - - search: '/\b[Ss][Pp]\b/g' - replace: 'SP' -version-resolver: - major: - labels: - - 'major' - minor: - labels: - - 'minor' - patch: - labels: - - 'patch' - default: patch -name-template: 'v$RESOLVED_VERSION ๐Ÿš€' -tag-template: 'v$RESOLVED_VERSION' -version-template: "0.$MAJOR.$MINOR.$PATCH" # The day OP becomes v1, we need to bump this -tag-prefix: "v0." # The day OP becomes v1, we need to bump this -prerelease-identifier: "staging" -template: | - ## Changes - - $CHANGES diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index c072e98e24..0000000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Release Drafter - -on: - push: - branches: - - master - tags: - - 'v*' - pull_request_target: - types: [opened, reopened, synchronize] - workflow_dispatch: - -permissions: - contents: read - -jobs: - update_release_draft: - permissions: - contents: write - pull-requests: write - runs-on: ubuntu-latest - steps: - - uses: release-drafter/release-drafter@v6 - with: - config-name: release-drafter.yml - prerelease: ${{ !startsWith(github.ref, 'refs/tags/v') }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test-discourse.yaml.yml b/.github/workflows/test-discourse.yaml.yml deleted file mode 100644 index fadaec4eaa..0000000000 --- a/.github/workflows/test-discourse.yaml.yml +++ /dev/null @@ -1,78 +0,0 @@ -name: Debug Discourse Posting - -on: - push: - -jobs: - test-discourse-post: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Post test message to Discourse - uses: ./.github/workflows/post-to-discourse - with: - discourse-url: ${{ vars.DISCOURSE_URL }} - api-key: ${{ secrets.DISCOURSE_API_KEY }} - api-username: ${{ secrets.DISCOURSE_API_USERNAME }} - topic-id: ${{ vars.DISCOURSE_UPDATES_TOPIC_ID }} - message: | - ## ๐Ÿงช Test Post from GitHub Actions - - **This is a test post to verify Discourse integration** - - - **Workflow**: ${{ github.workflow }} - - **Run Number**: #${{ github.run_number }} - - **Branch**: `${{ github.ref_name }}` - - **Commit**: ${{ github.sha }} - - **Actor**: @${{ github.actor }} - - **Timestamp**: ${{ github.event.head_commit.timestamp }} - - --- - - ### Fake Build Info (for testing) - - **Version**: 0.9.8-test - - **Build**: #42 - - **Branch**: release-test - - [View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) - - *This is an automated test message. Drive safe! ๐Ÿš—๐Ÿ’จ* - - - - name: Create topic on Discourse - uses: ./.github/workflows/post-to-discourse - with: - discourse-url: ${{ vars.DISCOURSE_URL }} - api-key: ${{ secrets.DISCOURSE_API_KEY }} - api-username: ${{ secrets.DISCOURSE_API_USERNAME }} - #topic-id: ${{ vars.DISCOURSE_UPDATES_TOPIC_ID }} - category-id: 4 - title: "This is a test of a new topic instead of a reply" - message: | - ## ๐Ÿงช Test Post from GitHub Actions - - **This is a test post to verify Discourse integration** - - - **Workflow**: ${{ github.workflow }} - - **Run Number**: #${{ github.run_number }} - - **Branch**: `${{ github.ref_name }}` - - **Commit**: ${{ github.sha }} - - **Actor**: @${{ github.actor }} - - **Timestamp**: ${{ github.event.head_commit.timestamp }} - - --- - - ### Fake Build Info (for testing) - - **Version**: 0.9.8-test - - **Build**: #42 - - **Branch**: release-test - - [View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) - - *This is an automated test message. Drive safe! ๐Ÿš—๐Ÿ’จ* - - name: Display results - if: always() - run: | - echo "::notice::Discourse post test completed" - echo "Check your Discourse topic to verify the post appeared correctly" \ No newline at end of file