Skip to content

Commit

Permalink
chore(ci): Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Dec 28, 2023
1 parent 05cb598 commit d009de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Expand Up @@ -71,7 +71,7 @@ jobs:
id: which_tag
run: |
if [[ ${{ github.ref }} == refs/pull* ]]; then
last_commit_message=$(curl -s "https://api.github.com/repos/AxaFrance/oidc-client/pulls/${{ github.event.number }}/commits" | jq -r '.[-1].commit.message')
last_commit_message=$(curl -s "https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${{ github.event.number }}/commits" | jq -r '.[-1].commit.message')
else
last_commit_message=$(git log --format=%B -n 1)
fi
Expand Down

0 comments on commit d009de8

Please sign in to comment.