Update Dependencies #1
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
name: Update Dependencies | |
# This action can be run on-demand against a branch. | |
# It attempts to update dotnet & npm dependencies, and commits and pushes changes if there are any. | |
on: | |
workflow_dispatch: | |
jobs: | |
main: | |
name: Update Dependencies | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
- name: Install Tools | |
run: | | |
npm install -g npm-check-updates | |
dotnet tool install -g dotnet-outdated-tool | |
- name: Update Dependencies | |
continue-on-error: true | |
run: ./scripts/update_dependencies.sh | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
committer: GitHub <[email protected]> | |
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
signoff: false | |
branch: update-dependencies | |
delete-branch: true | |
title: | | |
Update NPM & Dotnet Dependencies | |
commit-message: | | |
Update NPM & Dotnet Dependencies | |
labels: dependencies | |
draft: false |