We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40a773b commit 5c2efebCopy full SHA for 5c2efeb
1 file changed
.github/workflows/api-sync.yml
@@ -76,7 +76,9 @@ jobs:
76
id: commit
77
run: |
78
git remote set-url origin "https://x-access-token:${{ secrets.SDK_SYNC_PAT }}@github.com/${{ github.repository }}.git"
79
+ git checkout -- .github/workflows/ 2>/dev/null || true
80
git add -A
81
+ git reset HEAD .github/workflows/ 2>/dev/null || true
82
if git diff --staged --quiet; then
83
echo "No changes to commit"
84
echo "has_changes=false" >> $GITHUB_OUTPUT
0 commit comments