Skip to content

Commit

Permalink
chore: Fixed versioned security agent CI workflow (#2135)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr authored Apr 10, 2024
1 parent 1da1b6f commit 8013b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/versioned-security-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
current_val=$(cat package.json | jq -r --arg pkg "@newrelic/security-agent" '.dependencies[$pkg]')
echo "current_val=${current_val}" >> $GITHUB_OUTPUT
git checkout origin/${{github.base_ref}}
git checkout origin/${{github.base_ref || 'main'}}
previous_val=$(cat package.json | jq -r --arg pkg "@newrelic/security-agent" '.dependencies[$pkg]')
echo "previous_val=${previous_val}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 8013b25

Please sign in to comment.