From d1dd7abcaa79d18a4f39d1513cd20bff2fea544b Mon Sep 17 00:00:00 2001 From: Yash Garg Date: Thu, 14 Nov 2019 15:41:19 +0530 Subject: [PATCH 1/2] Create main.yml --- .github/workflows/main.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..c26f95ff --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: Update package.json + +on: + schedule: + - cron: 0 0 * * 3 + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + - name: set remote url + run: git remote set-url --push origin https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY + - name: GitHub Action for package.json update. + uses: taichi/actions-package-update@v0.5.0 + env: + AUTHOR_EMAIL: ritayanout@gmail.com + AUTHOR_NAME: Ritayan Chakraborty + EXECUTE: "true" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + LOG_LEVEL: debug + with: + args: -u --packageFile package.json --loglevel verbose From 7c40c1c5c61fb148c6bf5ddec95eacf4749902f9 Mon Sep 17 00:00:00 2001 From: Yash Garg Date: Thu, 14 Nov 2019 15:42:19 +0530 Subject: [PATCH 2/2] Update main.yml --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c26f95ff..6a434185 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,6 @@ name: Update package.json -on: - schedule: - - cron: 0 0 * * 3 +on: [push] jobs: build: