diff options
author | carsakiller <carsakiller@gmail.com> | 2024-05-23 08:27:10 +0000 |
---|---|---|
committer | carsakiller <carsakiller@gmail.com> | 2024-05-23 08:27:10 +0000 |
commit | 503da3b4c073573ce89f706debebd12a8a5abf98 (patch) | |
tree | b41b2c8357787e8347d6712657c351f419c1bff4 | |
parent | 5a97a63cf7c607c4bce4f5e56732a44451e73e1a (diff) | |
download | lua-language-server-503da3b4c073573ce89f706debebd12a8a5abf98.zip |
or ref name
-rw-r--r-- | .github/workflows/changelog.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 0f6a0dc4..9ed6968e 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -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 |