From 4c20412c5cc864823e660a0c77411936521196de Mon Sep 17 00:00:00 2001 From: Nikhil Nandagopal Date: Wed, 30 Sep 2020 20:55:59 +0530 Subject: [PATCH] Delete generate-issue-report.yml --- .github/workflows/generate-issue-report.yml | 39 --------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/generate-issue-report.yml diff --git a/.github/workflows/generate-issue-report.yml b/.github/workflows/generate-issue-report.yml deleted file mode 100644 index 0798efd994..0000000000 --- a/.github/workflows/generate-issue-report.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: 'generate-issue-report' - -# Use `push` for easier testing. -# Note that `push` won't re-trigger for the file we commit in this workflow. -# In real life, you probably want to run on a schedule. -# You can also try `on: issue`, but that generates a lot of events! -on: push - -env: - OUTPUT_FILE_NAME: IssuesReport.md - COMMITTER_EMAIL: nikhil@users.noreply.github.com - COMMITTER_NAME: Nikhil Nandagopal - COMMITTER_USERNAME: Nikhil-Nandagopal - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - uses: brcrista/summarize-issues@v3 - with: - title: 'My Issues Report' - configPath: '.github/workflows/issue-report-config.json' - outputPath: ${{ env.OUTPUT_FILE_NAME }} - token: ${{ secrets.GIT_ACTION_TOKEN }} - - - name: "Commit if any changes were made" - run: | - git remote add github "https://$COMMITTER_USERNAME:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" - git pull github ${GITHUB_REF} --ff-only - if [[ `git status --porcelain` ]]; then - git add ${OUTPUT_FILE_NAME} - git config --global user.email $COMMITTER_EMAIL - git config --global user.name $COMMITTER_NAME - git commit -m "Update $OUTPUT_FILE_NAME" - git push github HEAD:${GITHUB_REF} - fi