From a973fd86c0af53b50351306e6455750288bdccbb Mon Sep 17 00:00:00 2001 From: Aleksandra Danilina Date: Tue, 26 Sep 2023 16:53:12 +0200 Subject: [PATCH] chore: Add lock workflow --- .github/workflows/lock.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/lock.yml diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 0000000000..3145a3eb6e --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,20 @@ +name: Lock threads + +on: + schedule: + - cron: '0 0 * * *' + + workflow_dispatch: + pull_request: + branches: + - main + +permissions: + discussions: write + +jobs: + lock-discussion: + secrets: inherit + uses: cloudscape-design/actions/.github/workflows/lock.yml@lock-discussion + with: + repository: 'components' \ No newline at end of file