From aa3d80350fe406e68580987dba9ee1771b2dbb2d Mon Sep 17 00:00:00 2001 From: Will Gillis <40799239+t-will-gillis@users.noreply.github.com> Date: Wed, 6 Dec 2023 08:53:10 -0800 Subject: [PATCH] Delete .github/workflows/schedule-monthly-PREV.yml (#5967) Delete obsolete file, functionality incorporated in #5467 --- .github/workflows/schedule-monthly-PREV.yml | 45 --------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/schedule-monthly-PREV.yml diff --git a/.github/workflows/schedule-monthly-PREV.yml b/.github/workflows/schedule-monthly-PREV.yml deleted file mode 100644 index c34592eb90..0000000000 --- a/.github/workflows/schedule-monthly-PREV.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Schedule Monthly PREVIOUS - -on: - workflow_dispatch: - -jobs: - list-inactive-members: - runs-on: ubuntu-latest - if: github.repository == 'hackforla/website' - steps: - - uses: actions/checkout@v4 - - # gets a list of website-write team members with no open issues, returns a list of member's github handles - - name: Get List - uses: actions/github-script@v7 - id: get-list - with: - github-token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }} - script: | - const script = require('./github-actions/trigger-schedule/list-inactive-members/get-list.js'); - const getList = script({g: github, c: context}); - return getList; - - # creates a new issue in hackforla/website repo with the list populated above. creates a project card linking to this issue - - name: Create New Issue - uses: actions/github-script@v7 - id: create-new-issue - with: - github-token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }} - script: | - const script = require('./github-actions/trigger-schedule/list-inactive-members/create-new-issue.js'); - const list = ${{ steps.get-list.outputs.result }}; - const createNewIssue = script({g: github, c: context}, list); - return createNewIssue; - - # comments on issue #2607, notifying leads that the above issue has been created - - name: Comment Issue - uses: actions/github-script@v7 - id: comment-issue - with: - github-token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }} - script: | - const script = require('./github-actions/trigger-schedule/list-inactive-members/comment-issue.js'); - const newIssueNumber = ${{ steps.create-new-issue.outputs.result }}; - script({g: github, c: context}, newIssueNumber);