Skip to content

Commit 1efd678

Browse files
committed
fixed notes
1 parent 7242f6c commit 1efd678

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/update-timestamps.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,15 @@ jobs:
5252
- name: Push new timestamps
5353
if: steps.timestamp_check.outputs.timestamps_changed == '1'
5454
run: |
55+
git fetch origin refs/notes/*:refs/notes/*
5556
git add environments/common/inventory/group_vars/all/defaults.yml
5657
git config user.name 'github-actions[bot]'
5758
git config user.email 'github-actions[bot]@users.noreply.github.com'
5859
git commit -m "Bumped repo timestamps"
59-
git notes add -m "timestamp_bump_commit"
60+
git notes add --force -m "timestamp_bump_commit"
6061
git config --global --add --bool push.autoSetupRemote true
6162
git push
62-
git push origin 'refs/notes/*'
63+
git push origin refs/notes/*
6364
6465
- name: Check if new fatimage needed
6566
id: fatimage_check

0 commit comments

Comments
 (0)