magic comments

This commit is contained in:
Andrey 2023-01-03 16:41:02 -05:00
parent e5e0c92f64
commit 691e24df3f
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ jobs:
# merge, but don't commit the merge
git merge --no-ff --no-commit best-wiki-git/master
# unstage the file
# TL;DR bad magic github security policy that causes issues when someone commits a changed workflow file to rusefi/rusefi.wiki.git
# As a workaround we undo any changes to workflow files.
git reset HEAD .github/workflows/sync-wiki2.yaml .github/workflows/sync-wiki3.yaml
# revert the file to its original state
git checkout -- .github/workflows/sync-wiki2.yaml .github/workflows/sync-wiki3.yaml