A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
ci: stop recursive discussion lock runs
Hampusa780000a62a8
diff --git a/.github/workflows/lock-closed-conversations.yaml b/.github/workflows/lock-closed-conversations.yamlindex 90b53a4dc..b69310545 100644--- a/.github/workflows/lock-closed-conversations.yaml+++ b/.github/workflows/lock-closed-conversations.yaml@@ -8,6 +8,19 @@ on:types:- closeddiscussion:+ types:+ - answered+ - category_changed+ - created+ - edited+ - labeled+ - pinned+ - transferred+ - unanswered+ - unlabeled+ - unpinned+ schedule:+ - cron: "17 4 * * *"workflow_dispatch:inputs:dry_run:@@ -28,7 +41,7 @@ concurrency:jobs:automatic:name: Lock closed conversation- if: github.event_name != 'workflow_dispatch'+ if: github.event_name != 'workflow_dispatch' && github.event_name != 'schedule'runs-on: ubuntu-lateststeps:- name: Create token@@ -142,7 +155,7 @@ jobs:retroactive:name: Lock closed conversations retroactively- if: github.event_name == 'workflow_dispatch'+ if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'runs-on: ubuntu-lateststeps:- name: Create token@@ -159,7 +172,7 @@ jobs:- name: Lock closed conversationsenv:- DRY_RUN: ${{ inputs.dry_run }}+ DRY_RUN: ${{ inputs.dry_run || 'false' }}GH_TOKEN: ${{ steps.create-token.outputs.token }}run: |set -euo pipefail