We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36db2e6 commit e8885b9Copy full SHA for e8885b9
.github/workflows/GnuComment.yml
@@ -50,6 +50,10 @@ jobs:
50
github-token: ${{ secrets.GITHUB_TOKEN }}
51
script: |
52
const fs = require('fs');
53
+ if (!fs.existsSync('./NR') || !fs.existsSync('./result.txt')) {
54
+ core.info("No GNU comment payload to post.");
55
+ return;
56
+ }
57
const issue_number = Number(fs.readFileSync('./NR'));
58
const content = fs.readFileSync('./result.txt').toString();
59
0 commit comments