From 14b56d8aca4730539d23e66be9786a346db139f0 Mon Sep 17 00:00:00 2001 From: Devin Spikowski Date: Fri, 7 Aug 2020 19:35:13 -0400 Subject: [PATCH] Create dependency_updates.yml Using the workflow code from here: https://github.com/dependabot/dependabot-core/issues/1297#issuecomment-670292585 --- .github/workflows/dependency_updates.yml | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/dependency_updates.yml diff --git a/.github/workflows/dependency_updates.yml b/.github/workflows/dependency_updates.yml new file mode 100644 index 00000000..f68dabf4 --- /dev/null +++ b/.github/workflows/dependency_updates.yml @@ -0,0 +1,26 @@ +# source: https://github.com/microsoft/RichCodeNavIndexer/blob/master/.github/workflows/dependency_updates.yml + +name: Update dependencies + +on: + schedule: + - cron: '0 2 * * *' + workflow_dispatch: + +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - run: yarn up '*' + + - name: Create pull request + uses: peter-evans/create-pull-request@v3.1.0 + with: + commit-message: Update all dependencies + branch: automatic_dependency_updates + title: Update all dependencies + body: An updated update of all NPM dependencies. + #labels: auto-merge + #reviewers: # optional