-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1.43 KB
/
comment.yaml
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
29
30
31
32
33
34
35
36
37
38
39
on: issue_comment
jobs:
pr_commented:
# This job only runs for pull request comments
name: PR comment
if: ${{ github.event.issue.pull_request }}
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: "Prow Github Actions for PR comment"
env:
NUMBER: ${{ github.event.issue.number }}
REPO_OAUTH_TOKEN : ${{ github.token }}
UNSPLASH_ACCESS_KEY : ${{ secrets.UNSPLASH_ACCESS_KEY }}
uses: docker://ghcr.io/cncf-infra/prow-github-action:latest
- name: "Capture runtime artefacts for development on pga"
uses: actions/upload-artifact@v3
with:
name: environment variables and event payload
path: ${{ github.workspace }}
issue_commented:
# This job only runs for issue comments
name: Issue comment
if: ${{ !github.event.issue.pull_request }}
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: "Prow Github Actions for Issue Comment"
env:
NUMBER: ${{ github.event.issue.number }}
REPO_OAUTH_TOKEN : ${{ github.token }}
UNSPLASH_ACCESS_KEY : ${{ secrets.UNSPLASH_ACCESS_KEY }}
uses: docker://ghcr.io/cncf-infra/prow-github-action:latest
- name: "Capture runtime artefacts for development on pga"
uses: actions/upload-artifact@v3
with:
name: environment variables and event payload
path: ${{ github.workspace }}