Skip to content

workflow

workflow #2

Workflow file for this run

---
name: comment
permissions: read-all
on: [ workflow_dispatch, pull_request ]
env:
CSV_FILE_PREFIX: https://pub-95669c22c66d453c92c62f20aa0c5b57.r2.dev
BUCKET: github-action
BASE: main
JOBS: "main_again pr"
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: echo
run: echo "# comment" >> "$GITHUB_STEP_SUMMARY"
- name: 'comment PR'
uses: actions/github-script@v7
if: github.event_name == 'pull_request'
with:
script: |
const { issue: { number: issue_number }, repo: { owner, repo } } = context;
const summary = process.env.GITHUB_STEP_SUMMARY
github.issues.createComment({ issue_number, owner, repo, body: summary});