fix? lint workflow

This commit is contained in:
edideaur 2026-04-04 22:32:16 +00:00 committed by GitHub
parent 2c9ac1ecb1
commit d9d6a7d7d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,39 +1,38 @@
name: "Copilot Setup Steps" name: 'Copilot Setup Steps'
# Automatically run the setup steps when they are changed to allow for easy validation, and # Automatically run the setup steps when they are changed to allow for easy validation, and
# allow manual testing through the repository's "Actions" tab # allow manual testing through the repository's "Actions" tab
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
paths: paths:
- .github/workflows/copilot-setup-steps.yml - .github/workflows/copilot-setup-steps.yml
pull_request: pull_request:
paths: paths:
- .github/workflows/copilot-setup-steps.yml - .github/workflows/copilot-setup-steps.yml
jobs: jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot. # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
copilot-setup-steps: copilot-setup-steps:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Set the permissions to the lowest permissions possible needed for your steps. # Set the permissions to the lowest permissions possible needed for your steps.
# Copilot will be given its own token for its operations. # Copilot will be given its own token for its operations.
permissions: permissions:
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. contents: read
# If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete. workflows: write
contents: read
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Setup Bun - name: Setup Bun
uses: oven-sh/setup-bun@v1 uses: oven-sh/setup-bun@v1
with: with:
bun-version: latest bun-version: latest
- name: Install dependencies - name: Install dependencies
run: bun install run: bun install
- name: Install playwright dependencies - name: Install playwright dependencies
run: bun run install:playwright run: bun run install:playwright