Skip to content

Merge branch 'master' of https://github.com/iTwin/itwinjs-core into s… #46

Merge branch 'master' of https://github.com/iTwin/itwinjs-core into s…

Merge branch 'master' of https://github.com/iTwin/itwinjs-core into s… #46

name: "Copilot Setup Steps"
# Automatically run the setup steps when they are changed to allow for easy validation, and
# allow manual testing through the repository's "Actions" tab
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
copilot-setup-steps:
runs-on: ubuntu-latest
# Set the permissions to the lowest permissions possible needed for your steps.
# Copilot will be given its own token for its operations.
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
- name: Configure Git identity
run: |
git config --local user.name "imodeljs-admin"
git config --local user.email "imodeljs-admin@users.noreply.github.com"
- name: Install Rush
run: npm install -g @microsoft/rush@5.162.0
- name: Install dependencies
run: rush install