Skip to content

Commit ae523bf

Browse files
authored
Fix typo in the outputs variable (#4558)
So, the Slack notifications are sent when a versions file update is created.
1 parent 87336db commit ae523bf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/bump-agent-versions.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ else
3131
--label 'skip-changelog' \
3232
--label 'backport-skip' \
3333
--repo $GITHUB_REPOSITORY)
34-
echo "pr=$pr" >> $GITHUB_OUTPUT # set the step output for Slack notifications
34+
echo "pr=$pr" >> "$GITHUB_OUTPUT" # set the step output for Slack notifications
35+
echo "Created a PR with the file update: $pr"
3536
fi

.github/workflows/bump-agent-versions.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
channel: "#ingest-notifications"
5656

5757
# if a PR was created as a result of this job, we notify on the Slack channel
58-
- if: ${{ startsWith(steps.update.output.pr, 'https') }}
58+
- if: ${{ startsWith(steps.update.outputs.pr, 'https') }}
5959
uses: elastic/apm-pipeline-library/.github/actions/slack-message@current
6060
with:
6161
url: ${{ secrets.VAULT_ADDR }}

0 commit comments

Comments
 (0)