Skip to content

Commit 5adb9a5

Browse files
google-labs-jules[bot]MisRob
authored andcommitted
Upgrade workflows to .github#35
A companion to learningequality/.github#35
1 parent 8cbc170 commit 5adb9a5

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-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: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
name: Update community pull requests spreadsheet
2+
23
on:
34
pull_request_target:
4-
types: [assigned,unassigned,opened,closed,reopened]
5+
types: [assigned, unassigned, opened, closed, reopened, edited, review_requested, review_request_removed]
56

67
jobs:
7-
call-update-spreadsheet:
8+
call-workflow:
9+
name: Call shared workflow
810
uses: learningequality/.github/.github/workflows/update-pr-spreadsheet.yml@main
911
secrets:
12+
LE_BOT_APP_ID: ${{ secrets.LE_BOT_APP_ID }}
13+
LE_BOT_PRIVATE_KEY: ${{ secrets.LE_BOT_PRIVATE_KEY }}
1014
CONTRIBUTIONS_SPREADSHEET_ID: ${{ secrets.CONTRIBUTIONS_SPREADSHEET_ID }}
1115
CONTRIBUTIONS_SHEET_NAME: ${{ secrets.CONTRIBUTIONS_SHEET_NAME }}
1216
GH_UPLOADER_GCP_SA_CREDENTIALS: ${{ secrets.GH_UPLOADER_GCP_SA_CREDENTIALS }}

0 commit comments

Comments
 (0)