Skip to content

Commit f92a590

Browse files
Copilotstnguyen90
andcommitted
Update copilot-setup-steps.yml with triggers, permissions, and latest action versions
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
1 parent d142208 commit f92a590

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
name: Copilot Setup Steps
22

3-
on: []
3+
# Automatically run the setup steps when they are changed to allow for easy validation, and
4+
# allow manual testing through the repository's "Actions" tab
5+
on:
6+
workflow_dispatch:
7+
push:
8+
paths:
9+
- .github/workflows/copilot-setup-steps.yml
10+
pull_request:
11+
paths:
12+
- .github/workflows/copilot-setup-steps.yml
413

514
jobs:
615
copilot-setup-steps:
716
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
819
steps:
9-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
1021
- name: Use Node.js
11-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v6
1223
with:
1324
node-version: 20
1425
- name: Install pnpm

0 commit comments

Comments
 (0)