From 4b8a201e31cadd9829df349894b28c54e6c19fe6 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Sat, 13 Apr 2024 10:35:11 +0200 Subject: [PATCH] Add with ref github.head_ref to README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index afd09f6..e3f71b4 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,11 @@ jobs: steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} - # Other steps that change files in the repository + # Other steps that change files in the repository go here + # … # Commit all changed files back to the repository - uses: stefanzweifel/git-auto-commit-action@v5