Skip to content

Commit 71d406f

Browse files
google-labs-jules[bot]MisRob
authored andcommitted
Upgrade workflows to .github#35
A companion to learningequality/.github#35
1 parent 64c654c commit 71d406f

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Send reply on a new contributor pull request
2+
on:
3+
pull_request_target:
4+
types: [opened]
5+
6+
jobs:
7+
call-workflow:
8+
name: Call shared workflow
9+
uses: learningequality/.github/.github/workflows/contributor-pr-reply.yml@main
10+
secrets:
11+
LE_BOT_APP_ID: ${{ secrets.LE_BOT_APP_ID }}
12+
LE_BOT_PRIVATE_KEY: ${{ secrets.LE_BOT_PRIVATE_KEY }}
13+
SLACK_COMMUNITY_NOTIFICATIONS_WEBHOOK_URL: ${{ secrets.SLACK_COMMUNITY_NOTIFICATIONS_WEBHOOK_URL }}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Post holiday message on pull request or issue comment
2+
on:
3+
pull_request_target:
4+
types: [opened]
5+
issue_comment:
6+
types: [created]
7+
8+
jobs:
9+
call-workflow:
10+
name: Call shared workflow
11+
uses: learningequality/.github/.github/workflows/holiday-message.yml@main
12+
secrets:
13+
LE_BOT_APP_ID: ${{ secrets.LE_BOT_APP_ID }}
14+
LE_BOT_PRIVATE_KEY: ${{ secrets.LE_BOT_PRIVATE_KEY }}
15+
SLACK_COMMUNITY_NOTIFICATIONS_WEBHOOK_URL: ${{ secrets.SLACK_COMMUNITY_NOTIFICATIONS_WEBHOOK_URL }}
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
name: Update community pull requests spreadsheet
22
on:
33
pull_request_target:
4-
types: [assigned,unassigned,opened,closed,reopened]
4+
types: [assigned, unassigned, opened, closed, reopened, edited, review_requested, review_request_removed]
55

66
jobs:
7-
call-update-spreadsheet:
7+
call-workflow:
8+
name: Call shared workflow
89
uses: learningequality/.github/.github/workflows/update-pr-spreadsheet.yml@main
910
secrets:
11+
LE_BOT_APP_ID: ${{ secrets.LE_BOT_APP_ID }}
12+
LE_BOT_PRIVATE_KEY: ${{ secrets.LE_BOT_PRIVATE_KEY }}
1013
CONTRIBUTIONS_SPREADSHEET_ID: ${{ secrets.CONTRIBUTIONS_SPREADSHEET_ID }}
1114
CONTRIBUTIONS_SHEET_NAME: ${{ secrets.CONTRIBUTIONS_SHEET_NAME }}
1215
GH_UPLOADER_GCP_SA_CREDENTIALS: ${{ secrets.GH_UPLOADER_GCP_SA_CREDENTIALS }}

0 commit comments

Comments
 (0)