-
-
Notifications
You must be signed in to change notification settings - Fork 459
797 OpenSSF Branch Improvements #812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # CODEOWNERS — all files require review from the project maintainer. | ||
| # https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
|
|
||
| * @jonobr1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,7 @@ jobs: | |
| cache: "npm" | ||
|
|
||
| - name: Install dependencies | ||
| run: npm install | ||
| run: npm ci | ||
|
|
||
| - name: Build | ||
| run: npm run build | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -11,6 +11,6 @@ jobs: | |||||||||||||||
| # checkout@v5 | ||||||||||||||||
| - uses: jonobr1/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | ||||||||||||||||
| - name: Install modules | ||||||||||||||||
| run: npm install | ||||||||||||||||
| run: npm ci | ||||||||||||||||
|
||||||||||||||||
| run: npm ci | |
| run: | | |
| if [ -f package-lock.json ] || [ -f npm-shrinkwrap.json ]; then | |
| npm ci | |
| else | |
| npm install | |
| fi |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -24,7 +24,7 @@ jobs: | |||||
|
|
||||||
| # Ensure npm 11.5.1 or later is installed | ||||||
|
||||||
| # Ensure npm 11.5.1 or later is installed | |
| # Ensure npm 11.5.1 is installed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as the lint workflow:
npm ciwill fail without a committed lockfile. If the Copilot setup workflow is expected to run on contributions where a lockfile might be missing, consider enforcing the lockfile policy (preferred) or usingnpm installfor that specific workflow.