forbidden? sure #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# on: pull_request | |
# permissions: write-all | |
# jobs: | |
# example_comment_pr: | |
# runs-on: windows-latest | |
# name: An example job to comment a PR | |
# steps: | |
# - name: Set comment content | |
# shell: bash | |
# run: | | |
# echo "Hello! Thanks for opening this PR." > data.txt | |
# echo "COMMENT_CONTENT=$(cat data.txt)" >> $GITHUB_ENV | |
# - name: Comment PR | |
# uses: actions/github-script@v7 | |
# id: comment | |
# with: | |
# script: | | |
# github.rest.issues.createComment({ | |
# issue_number: context.issue.number, | |
# owner: context.repo.owner, | |
# repo: context.repo.repo, | |
# body: process.env.COMMENT_CONTENT | |
# }) |