Skip to content

Commit

Permalink
Update outdated.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
trossr32 committed Jan 20, 2024
1 parent 9c722e1 commit fdb5653
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/outdated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,25 @@ name: Outdated package checks
on:
pull_request:
types: [opened, synchronize, reopened]
branches: [ main ]
branches: [ main, master ]
paths:
- '.github/workflows/outdated.yml'
- 'TxnNetwork.ApiDocumentation/**'

workflow_dispatch:

env:
SOLUTION_PATH: 'src/PsGithubRepoSnapshot.sln'
SOLUTION_PATH: 'TxnNetwork.ApiDocumentation/TxnNetwork.ApiDocumentation.sln'
PROJECT_DIR: 'TxnNetwork.ApiDocumentation/TxnNetwork.ApiDocumentation'

jobs:
outdated-packages-check:
runs-on: ubuntu-latest

steps:
- uses: trossr32/outdated-packages-action@v1.3.0
- uses: trossr32/outdated-packages-action@v1.4.1
with:
use-dotnet-outdated: true
dotnet-solution-or-project-path: ${{ env.SOLUTION_PATH }}
dotnet-solution-or-project-path: ${{ env.SOLUTION_PATH }}
use-npm-outdated: true
npm-project-directory: ${{ env.PROJECT_DIR }}

0 comments on commit fdb5653

Please sign in to comment.