File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ # #### Aggregate Commerce PRs and Issues into a respective Organizational Project #####
3
+
4
+ name : Add pull requests and issues to projects
5
+
6
+ on :
7
+ pull_request_target :
8
+ types :
9
+ - opened
10
+ issues :
11
+ types :
12
+ - opened
13
+
14
+ jobs :
15
+ add-to-project :
16
+ runs-on : ubuntu-latest
17
+
18
+ steps :
19
+ - name : Add to Commerce PR project
20
+ if : github.event_name == 'pull_request_target'
21
+
22
+ with :
23
+ project-url : https://github.com/orgs/AdobeDocs/projects/5 # The organizational project for pull requests
24
+ github-token : ${{ secrets.COMMERCE_PROJECT_AUTOMATION }}
25
+
26
+ - name : Add to Commerce Issue project
27
+ if : github.event_name == 'issues'
28
+
29
+ with :
30
+ project-url : https://github.com/orgs/AdobeDocs/projects/6 # The organizational project for issues
31
+ github-token : ${{ secrets.COMMERCE_PROJECT_AUTOMATION }}
You can’t perform that action at this time.
0 commit comments