Skip to content

Commit

Permalink
Update update-dependencies.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Jun 18, 2024
1 parent 21a02a5 commit 7221b38
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,22 @@ on:
- '**/package.json'
- '**/package-lock.json'
workflow_dispatch:
inputs:
base:
description: The Base Ref to apply the diff
required: false
default: 'main'
schedule:
- cron: '0 12 * * 0'

env:
NEW_BRANCH: "update-dependencies-${{ inputs.base || 'main' }}"
REF_BRANCH: ${{ inputs.base || 'main' }}

jobs:
update-dependencies:
if: github.repository_owner == 'streetsidesoftware'
runs-on: ubuntu-latest
env:
NEW_BRANCH: 'update-dependencies-main'
REF_BRANCH: main
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 7221b38

Please sign in to comment.