mirror of
https://github.com/aaddrick/claude-desktop-debian.git
synced 2026-05-17 00:26:21 +03:00
chore(dns-monitor): pass step output through env, not bash interpolation
Routing `steps.dig.outputs.line` through `env:` matches the pattern used by `apt-repo-heartbeat.yml` and avoids interpolating arbitrary text directly into the shell command. Co-Authored-By: Claude <claude@anthropic.com>
This commit is contained in:
4
.github/workflows/dns-monitor-quad9.yml
vendored
4
.github/workflows/dns-monitor-quad9.yml
vendored
@@ -32,9 +32,11 @@ jobs:
|
||||
echo "line=$line" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Append to issue body
|
||||
env:
|
||||
LINE: ${{ steps.dig.outputs.line }}
|
||||
run: |
|
||||
body=$(gh issue view "$ISSUE" --repo "$GITHUB_REPOSITORY" --json body -q .body)
|
||||
new_body="${body}"$'\n'"${{ steps.dig.outputs.line }}"
|
||||
new_body="${body}"$'\n'"${LINE}"
|
||||
gh issue edit "$ISSUE" --repo "$GITHUB_REPOSITORY" --body "$new_body"
|
||||
|
||||
- name: Disable workflow on resolution
|
||||
|
||||
Reference in New Issue
Block a user