Skip to content

Commit

Permalink
fix: dangerous workflow (#3669)
Browse files Browse the repository at this point in the history
Signed-off-by: Joyce Brum <joycebrum@google.com>
  • Loading branch information
joycebrum committed Feb 14, 2023
1 parent 65df149 commit 499985d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-image.yaml
Expand Up @@ -33,11 +33,11 @@ jobs:
run: npm run build

- name: Create release image
env:
BODY: ${{ github.event.pull_request.body }}
run: |
# Store the PR body contents containing the changelog in 'release.md'
cat <<'EOF' > release.md
${{ github.event.pull_request.body }}

This comment has been minimized.

Copy link
@Anonymous696969696969

Anonymous696969696969 Feb 17, 2023

Deez nutz

EOF
echo "$BODY" > release.md
# Only render the pull request content including and after the "#
# Releases" heading.
node_modules/.bin/release-image -m <(sed -n '/# Releases/,$p' release.md)
Expand Down

0 comments on commit 499985d

Please sign in to comment.