Skip to content

Commit

Permalink
ci: strip <details> from issue context and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Nov 3, 2023
1 parent 1d4f243 commit a95ac42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ jobs:
gh issue view $ISSUE_NUMBER > issue.md
gh issue view $ISSUE_NUMBER -c > comments.md
# strip long <details>...</details> from issue.md and comments.md
perl -0777 -i -pe 's/\n<details>.*?<\/details>//sg' issue.md
perl -0777 -i -pe 's/\n<details>.*?<\/details>//sg' comments.md
# install a shim that makes `git commit` a no-op (in case it would get that idea prematurely)
source scripts/git-shim.sh
Expand Down

0 comments on commit a95ac42

Please sign in to comment.