name: PR Comment Workflow on: pull_request: types: [opened] jobs: comment-on-pr: runs-on: ubuntu-latest steps: - name: Comment coolify preview URL. uses: actions/github-script@v6 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, body: `https://${context.issue.number}.md.monerodevs.org/` })