Skip to content

Commit

Permalink
or ref name
Browse files Browse the repository at this point in the history
  • Loading branch information
carsakiller committed May 23, 2024
1 parent 5a97a63 commit 503da3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 2
fetch-depth: 0

- name: Set up environment
run: |
echo "GITHUB_HEAD_REF=${{ github.head_ref }}" >> $GITHUB_ENV
echo "GITHUB_HEAD_REF=${{ github.head_ref || github.ref_name }}" >> $GITHUB_ENV
echo "GITHUB_BASE_REF=${{ github.base_ref }}" >> $GITHUB_ENV
- name: Check if changelog is updated
Expand Down

0 comments on commit 503da3b

Please sign in to comment.