Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test pr comment github action #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/pr_comment_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ jobs:
pr_comment_test:
name: pr_command_help
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: comment message
run: |
wget --quiet https://github.com/kishaningithub/randomtext/releases/download/v1.2.1/randomtext_1.2.1_linux_amd64.deb
sudo dpkg -i randomtext_1.2.1_linux_amd64.deb
echo "Available commands (300 KB)" > pr-comment.txt
randomtext -size 300KB -type words >> pr-comment.txt

echo "Available commands (200 KB)" > pr-comment.txt
randomtext -size 200KB -type words >> pr-comment.txt

du -sh pr-comment.txt

- name: Post apply output to GitHub PR
Expand Down