Skip to content

Commit

Permalink
Slight fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StrangeRanger committed Dec 20, 2024
1 parent 085d51a commit 848faa8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/update-from-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:

- name: Validate repository
run: |
REPO_NAME="${{ github.event.workflow_run.head_repository.full_name }}"
if [[ $REPO_NAME != "${{ github.repository }}" ]]; then
if [[ ${{ github.event.workflow_run.head_repository.full_name }} != "${{ github.repository }}" ]]; then
echo "Untrusted repository detected! Exiting."
exit 1
fi
Expand Down

0 comments on commit 848faa8

Please sign in to comment.