File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,21 @@ jobs:
1515 env :
1616 GITHUB_TOKEN : ${{ secrets.GITHUBACTIONS_TOKEN }}
1717
18+ - name : Write issues to file
19+ run : |
20+ echo '${{ steps.issues.outputs.data }}' > issues.json
21+
22+ - name : Setup Node.js
23+ uses : actions/setup-node@v2
24+ with :
25+ node-version : ' 14'
26+
1827 - name : Print issue URLs
1928 run : |
20- const issues = JSON.parse('${{ steps.issues.outputs.data }}');
29+ const fs = require('fs');
30+ const issues = JSON.parse(fs.readFileSync('issues.json', 'utf8'));
2131 const filteredIssues = issues.filter(issue => issue.body.includes('Is your portal managed or self-hosted?\r\n\r\nManaged'));
2232 for (const issue of filteredIssues) {
2333 console.log(issue.html_url);
2434 }
25- shell : node
35+ shell : bash
You can’t perform that action at this time.
0 commit comments