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