Skip to content

Commit

Permalink
fix checkout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros committed Nov 14, 2024
1 parent cebaa5c commit b6606d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/update-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs:
setup:
main:
runs-on: ubuntu-latest
name: Setup
name: Check Versions and Create PR
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Run dotnet outdated
Expand All @@ -37,7 +39,7 @@ jobs:
git checkout -b outdated
git commit -am "Update NuGet packages"
git push origin HEAD --force
gh pr create -B main -H outdated --title 'Update NuGet packages' --body 'Created by Github action'
gh pr create --base main -H outdated --title 'Update NuGet packages' --body 'Created by Github action'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b6606d4

Please sign in to comment.