-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: US158339 - Add update-package-lock and new release token (#136)
* Add update-package-lock workflow * Update dependabot * Go to node 20 * Switch to new token and update README
- Loading branch information
Showing
6 changed files
with
46 additions
and
50 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
* @BrightspaceUI/gaudi-dev | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 10 | ||
versioning-strategy: widen | ||
ignore: | ||
- dependency-name: mocha | ||
versions: | ||
- ">= 8.1.a, < 8.2" | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 10 | ||
ignore: | ||
# update-package-lock workflow already handles minor/patch updates | ||
- dependency-name: "*" | ||
update-types: ["version-update:semver-minor", "version-update:semver-patch"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Update package-lock.json | ||
on: | ||
schedule: | ||
- cron: "30 12 * * 3" # Wed 8:30AM EDT. 7:30AM EST. | ||
workflow_dispatch: # manual trigger | ||
jobs: | ||
update: | ||
name: Update | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: Brightspace/third-party-actions@actions/checkout | ||
with: | ||
token: ${{ secrets.PR_GITHUB_TOKEN }} | ||
- uses: Brightspace/third-party-actions@actions/setup-node | ||
with: | ||
node-version-file: .nvmrc | ||
cache: 'npm' | ||
- name: Update package-lock.json | ||
uses: BrightspaceUI/actions/update-package-lock@main | ||
with: | ||
AUTO_MERGE_METHOD: squash | ||
AUTO_MERGE_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }} | ||
APPROVAL_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18 | ||
20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters