From 999dfbe6b382d0fd90a5deb2f0bdd9460de51b8d Mon Sep 17 00:00:00 2001 From: psavarmattas Date: Sun, 11 Dec 2022 15:36:59 +0530 Subject: [PATCH] README UPDATE --- .../workflows/update-activity-workflow.yml | 38 ++++++++++++++----- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/.github/workflows/update-activity-workflow.yml b/.github/workflows/update-activity-workflow.yml index f959c13..c48c691 100644 --- a/.github/workflows/update-activity-workflow.yml +++ b/.github/workflows/update-activity-workflow.yml @@ -5,16 +5,34 @@ on: - cron: '*/30 * * * *' workflow_dispatch: -jobs: - build: - runs-on: ubuntu-latest - name: Update this repo's README with recent activity +# jobs: +# build: +# runs-on: ubuntu-latest +# name: Update this repo's README with recent activity +# steps: +# - uses: actions/checkout@v2 +# - uses: jamesgeorge007/github-activity-readme@master +# env: +# GITHUB_TOKEN: ${{ secrets.SuperSecret }} +# with: +# COMMIT_MSG: 'Added recent activity on GitHub' +# MAX_LINES: 10 + +jobs: + publish: + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: jamesgeorge007/github-activity-readme@master - env: - GITHUB_TOKEN: ${{ secrets.SuperSecret }} + - uses: actions/checkout@master with: - COMMIT_MSG: 'Added recent activity on GitHub' - MAX_LINES: 10 \ No newline at end of file + persist-credentials: false + fetch-depth: 0 + - name: Create README.md + uses: actions-js/profile-readme@master + with: + username: psavarmattas + github_token: ${{ secrets.SuperSecret }} + - name: Commit & Push changes + uses: actions-js/push@master + with: + github_token: ${{ secrets.SuperSecret }} \ No newline at end of file