* Update postback pr
* update nightly release
echo "targets=${TARGETS}" >> $GITHUB_OUTPUT
- name: Trigger Release
- uses: actions/github-script@v4
+ uses: actions/github-script@v6
env:
TARGETS: ${{ steps.find-targets.outputs.targets }}
WORKFLOW_NAME: 'Deploy Packages'
const fs = require('fs');
const json = fs.readFileSync('Artifacts/errors.json', 'utf8');
const errors = JSON.parse(json).join('\n');
- github.issues.createComment({
+ github.rest.issues.createComment({
issue_number: process.env.PR_NUMBER,
owner: context.repo.owner,
repo: context.repo.repo,