Skip to content

Commit 6d62e9f

Browse files
build: update ref handling in workflow files for improved clarity and functionality
1 parent 18b25ef commit 6d62e9f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/rust-minimal.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ jobs:
3939
with:
4040
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
4141
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
42-
ref: ${{ github.head_ref }}
42+
ref: refs/heads/${{ github.head_ref }}
4343

4444
- uses: technology-studio-forks/markdown-embed-code@main
4545
with:
4646
markdown: "docs/writing-your-first-rclrs-node.md"
4747
token: ${{ secrets.GITHUB_TOKEN }}
4848
message: "synchronizing Markdown files"
49-
silent: true
49+
silent: false
5050

5151
- name: Search packages in this repository
5252
id: list_packages

.github/workflows/rust-stable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ jobs:
3939
with:
4040
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
4141
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
42-
ref: ${{ github.head_ref }}
42+
ref: refs/heads/${{ github.head_ref }}
4343

4444
- uses: technology-studio-forks/markdown-embed-code@main
4545
with:
4646
markdown: "docs/writing-your-first-rclrs-node.md"
4747
token: ${{ secrets.GITHUB_TOKEN }}
4848
message: "synchronizing Markdown files"
49-
silent: true
49+
silent: false
5050

5151
- name: Search packages in this repository
5252
id: list_packages

0 commit comments

Comments
 (0)