-
Notifications
You must be signed in to change notification settings - Fork 276
28 lines (28 loc) · 1.01 KB
/
UpdateDependencies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
on:
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directly
name: Update package dependencies
jobs:
package-update:
if: github.repository == 'thamara/time-to-leave'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: set remote url
run: |
git remote set-url --push origin https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
npm install
- name: package-update
uses: thamara/actions-package-update@master
env:
AUTHOR_EMAIL: [email protected]
AUTHOR_NAME: Thamara Andrade
EXECUTE: "true"
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
LOG_LEVEL: debug
with:
args: -u --packageFile package.json --loglevel verbose