chore: start locking down workflows (#248544)

This commit is contained in:
Raymond Zhao
2025-05-09 11:22:00 -07:00
committed by GitHub
parent 5974364609
commit 15807c660e
6 changed files with 33 additions and 8 deletions

View File

@@ -1,12 +1,14 @@
name: Prevent package-lock.json changes in PRs
on: [pull_request]
on: pull_request
permissions: {}
jobs:
main:
name: Prevent package-lock.json changes in PRs
runs-on: ubuntu-latest
steps:
- uses: octokit/request-action@v2.x
- uses: octokit/request-action@dad4362715b7fb2ddedf9772c8670824af564f0d # v2.4.0
id: get_permissions
with:
route: GET /repos/microsoft/vscode/collaborators/{username}/permission