Skip to content

chore: Run from components #10

chore: Run from components

chore: Run from components #10

Workflow file for this run

name: Lock threads
on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
pull_request:
branches:
- main
permissions:
discussions: write
jobs:
lock-discussion:
runs-on: ubuntu-latest
steps:

Check failure on line 19 in .github/workflows/lock.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lock.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
- name: Setup lock-discussion project
run: |
# cp -r components/.github/workflows/lock-discussion lock-discussion
# cd lock-discussion
cd components/.github/workflows/lock-discussion
npm i --force
- name: Run lock discussion
run: |
cd components/.github/workflows/lock-discussion
npm run lock --TOKEN=${{ secrets.GITHUB_TOKEN }}