9
9
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
10
10
11
11
jobs :
12
- # parse:
13
- # runs-on: ubuntu-latest
14
- # env:
15
- # REVIEWERS_FILE: reviewers.json
16
- # outputs:
17
- # reviewersJSON: ${{ steps.parse_reviewers.outputs.reviewersJSON }}
18
- # steps:
19
- # - uses: actions/checkout@v3
20
-
21
- # # https://stackoverflow.com/questions/61919141/read-json-file-in-github-actions
22
- # - name: Parse Reviewers
23
- # id: parse_reviewers
24
- # run: |
25
- # content=`cat ${{ env.REVIEWERS_FILE }}`
26
- # # the following lines are only required for multi line json
27
- # content="${content//'%'/'%25'}"
28
- # content="${content//$'\n'/'%0A'}"
29
- # content="${content//$'\r'/'%0D'}"
30
- # # end of optional handling for multi line json
31
- # echo "::set-output name=reviewersJSON::$content"
32
-
33
12
check :
34
13
runs-on : ubuntu-latest
35
14
strategy :
@@ -123,25 +102,4 @@ jobs:
123
102
--reviewer "$REVIEWER" \
124
103
--base "$BASE_BRANCH" \
125
104
--head "$TARGET_BRANCH"
126
- done
127
-
128
- # emails:
129
- # runs-on: ubuntu-latest
130
- # needs: check
131
- # strategy:
132
- # matrix:
133
- # reviewer: ${{ fromJSON(needs.check.outputs.missingReviewers) }}
134
- # steps:
135
- # - name: Send email
136
- # uses: dawidd6/action-send-mail@v3
137
- # env:
138
- # KEYWORD: $(echo ${{ matrix.reviewer }} | sed 's/:/ /g')
139
- # with:
140
- # server_address: smtp.gmail.com
141
- # server_port: 465
142
- # username: ${{ secrets.MAIL_USER }}
143
- # password: ${{ secrets.MAIL_PASSWORD }}
144
- # from: ${{ secrets.MAIL_USER }}
145
- # subject: "Test"
146
- # to: min.yin@it-experts.at
147
- # body: ${{ env.KEYWORD }}
105
+ done
0 commit comments