File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2019-2023 Tauri Programme within The Commons Conservancy
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name : covector comment
6
+ on :
7
+ workflow_run :
8
+ workflows : [covector status] # the `name` of the workflow run on `pull_request` running `status` with `comment: true`
9
+ types :
10
+ - completed
11
+
12
+ # note all other permissions are set to none if not specified
13
+ # and these set the permissions for `secrets.GITHUB_TOKEN`
14
+ permissions :
15
+ # to read the action artifacts on `covector status` workflows
16
+ actions : read
17
+ # to write the comment
18
+ pull-requests : write
19
+
20
+ jobs :
21
+ download :
22
+ runs-on : ubuntu-latest
23
+ if : github.event.workflow_run.conclusion == 'success' &&
24
+ (github.event.workflow_run.head_repository.full_name != github.repository || github.actor == 'dependabot[bot]')
25
+ steps :
26
+ - name : covector status
27
+ uses : jbolda/covector/packages/action@covector-v0
28
+ with :
29
+ token : ${{ secrets.GITHUB_TOKEN }}
30
+ command : " status"
You can’t perform that action at this time.
0 commit comments