Skip to content

Commit

Permalink
shell
Browse files Browse the repository at this point in the history
  • Loading branch information
westin-m committed Oct 23, 2024
1 parent 2336800 commit 6977a6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/PR_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
name: An example job to comment a PR
steps:
- name: Set comment content
shell: bash
run: echo "COMMENT_CONTENT=Hello! Thanks for opening this PR." >> $GITHUB_ENV
- name: Comment PR
uses: actions/github-script@v7
Expand All @@ -17,5 +18,5 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: process.env.COMMENT_CONTENT
body: `${{ env.COMMENT_CONTENT }}`
})

0 comments on commit 6977a6e

Please sign in to comment.