Skip to content

Commit abd707a

Browse files
p4checomluisbrown
authored andcommitted
Fix git credentials in format.yml
## Changes - Update actions/checkout to v3 in format.yml and disable credentials persistence for the `FORMAT_TOKEN` to be used by `stefanzweifel/git-auto-commit-action`.
1 parent 97f46e0 commit abd707a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/format.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
name: swift-format
1515
runs-on: macos-12
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
18+
with:
19+
persist-credentials: false
1820
- name: Xcode Select
1921
run: sudo xcode-select -s /Applications/Xcode_14.1.app
2022
- name: Tap

0 commit comments

Comments
 (0)