Skip to content

🎥 Make videos programmatically with React

better copilot agent behavior

Jonny Burger5200591684e5
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
index 4653d1b581..3daebf0eff 100644
--- a/.github/copilot-instructions.md
+++ b/.github/copilot-instructions.md
@@ -10,13 +10,12 @@ The **package name** for each folder is `@remotion/[folder-name]`, except for th
## Documentation
-Any new features or settings should be documented in the `pacakges/docs` folder.
+Any new features or settings should be documented in the `packages/docs` folder.
- Add new pages to the sidebar: `packages/docs/sidebars.js`.
-- When creating a new page, don't add the `image:` tag to the frontmatter. It will be added later.
-- Generate og:images when creating new documentation pages by running `cd package/docs && bun render-cards.mjs`. Commit the created image and the changed frontmatter.
+- When creating a new page or duplicating an existing page, don't add the `image:` tag to the frontmatter at first. Instead, run `cd package/docs && bun render-cards.mjs` afterwards to generate and automatically add the `image:` tag. Commit the created image and the changed frontmatter.
- Usually, there is a TableOfContents.tsx file in the folder of the documentaiton for the package. Add it there as well if there is a table of contents.
-## Committing
+## Commit messages
-- Use the commit message format "`[package-name]: [commit-message]`". Use the package name from the package naming convention above.
+- Use the commit message format "`[package-name]: [commit-message]`". Use the package name from the package naming convention above, for example "`@remotion/shapes: Add heart shape`".
diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml
index 38dedddf7e..2c10b26c83 100644
--- a/.github/workflows/copilot-setup-steps.yml
+++ b/.github/workflows/copilot-setup-steps.yml
@@ -27,8 +27,6 @@ jobs:
- uses: oven-sh/[email protected]
with:
bun-version: 1.2.10
- - name: Install
- run: pnpm i --frozen-lockfile
- name: Cache turbo build setup
uses: actions/cache@v4
with:
@@ -36,3 +34,7 @@ jobs:
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
+ - name: Install
+ run: pnpm i --frozen-lockfile
+ - name: Build
+ run: pnpm run build