Skip to content

Commit

Permalink
use context variable to decide which branch to auto update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Medrano authored and Xavier Medrano committed Apr 10, 2024
1 parent 1da9c7d commit ef2ff7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ jobs:
nodeenv -p && \
npm install -g npm-check-updates && \
find ./docker -name package.json -exec ncu --packageFile {} -u \;
# TODO: push to the proper branch after pr approved
- name: Push to main branch
run: |
git config --global user.name "xmedr"
git config --global user.email "[email protected]"
git add .
git commit -m "Update pypi and node dependencies"
git push origin feature/dependency-auto-update
git push origin ${{ github.ref_name }}

0 comments on commit ef2ff7c

Please sign in to comment.