forked from hackforla/website
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
faa21a3
commit 79d0914
Showing
1 changed file
with
26 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,40 +36,30 @@ jobs: | |
token: ${{ secrets.TEST_GHAS }} | ||
run: node github-actions/trigger-schedule/github-data/contributors-data.js | ||
|
||
- name: Commit list | ||
uses: stefanzweifel/[email protected] | ||
with: | ||
# Optional glob pattern of files which should be added to the commit | ||
file_pattern: _data/external/inactive-members.json | ||
commit_message: Update monthly data for inactive members | ||
# Commit author settings | ||
commit_author: GitHub Actions Bot <[email protected]> | ||
|
||
|
||
Create_New_Issue: | ||
needs: Trim_Contributors | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# Create_New_Issue: | ||
# needs: Trim_Contributors | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
|
||
# 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@v6 | ||
id: create-new-issue | ||
with: | ||
github-token: ${{ secrets.TEST_GHAS }} | ||
script: | | ||
const script = require('./github-actions/trigger-schedule/list-inactive-members/create-new-issue.js'); | ||
const createNewIssue = script({g: github, c: context}); | ||
return createNewIssue; | ||
# Comments on issue #2607, notifying leads that the above issue has been created | ||
- name: Comment issue | ||
uses: actions/github-script@v6 | ||
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); | ||
# 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@v6 | ||
id: create-new-issue | ||
with: | ||
github-token: ${{ secrets.TEST_GHAS }} | ||
script: | | ||
const script = require('./github-actions/trigger-schedule/list-inactive-members/create-new-issue.js'); | ||
const createNewIssue = script({g: github, c: context}); | ||
return createNewIssue; | ||
# Comments on issue #2607, notifying leads that the above issue has been created | ||
- name: Comment issue | ||
uses: actions/github-script@v6 | ||
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); |