-
-
Notifications
You must be signed in to change notification settings - Fork 31
28 lines (26 loc) · 1.03 KB
/
Copy pathexternal-contribution.yml
File metadata and controls
28 lines (26 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: External Contribution Notify
on:
issues:
types: [opened, assigned, closed]
pull_request_target:
types: [opened, assigned, closed]
concurrency:
group: external-contribution-${{ github.ref }}
cancel-in-progress: true
jobs:
notify:
uses: praetorian-inc/public-workflows/.github/workflows/external-contrib-notify.yml@0c602372f3d0d038912dd08e159ecc83954a4995 # v2.9.3
permissions:
contents: read
issues: write
pull-requests: write
secrets:
EXTERNAL_CONTRIB_APP_ID: ${{ secrets.EXTERNAL_CONTRIB_APP_ID }}
EXTERNAL_CONTRIB_APP_PRIVATE_KEY: ${{ secrets.EXTERNAL_CONTRIB_APP_PRIVATE_KEY }}
LINEAR_API_KEY: ${{ secrets.LINEAR_API_KEY }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
LINEAR_TEAM_ID: ${{ secrets.LINEAR_TEAM_ID }}
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
LINEAR_ASSIGNEE_ID: ${{ secrets.LINEAR_ASSIGNEE_ID }}
LINEAR_PARENT_ISSUE_ID: ${{ secrets.LINEAR_PARENT_ISSUE_ID }}
LINEAR_PROJECT_ID: ${{ secrets.LINEAR_PROJECT_ID }}