Skip to content

Commit 3f33fd0

Browse files
authored
Merge pull request #41 from vim-jp/embed-commitid-in-commitlog
Embed commit IDs in commit log
2 parents 322a291 + e25d1d6 commit 3f33fd0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/generate.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
cd ..
4040
# install
4141
cp work/target/html/doc/*.html target
42+
- name: Check commit IDs
43+
id: commitid
44+
run: |
45+
echo "vim=$(git -C work/vim rev-parse HEAD)" >> $GITHUB_OUTPUT
46+
echo "vim_faq=$(git -C work/vim_faq rev-parse HEAD)" >> $GITHUB_OUTPUT
4247
- name: Commit updated master branch
4348
uses: EndBug/add-and-commit@v9
4449
with:
@@ -48,3 +53,7 @@ jobs:
4853
Generated by GitHub workflow ${{ github.run_id }}
4954
5055
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
56+
57+
Used commits:
58+
https://github.com/vim/vim/commit/${{ steps.commitid.outputs.vim }}
59+
https://github.com/chrisbra/vim_faq/commit/${{ steps.commitid.outputs.vim_faq }}

0 commit comments

Comments
 (0)