Skip to content

Commit f6d3fea

Browse files
committed
. e mdsnip
1 parent a6bd166 commit f6d3fea

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/mdsnippets.yml

+8-12
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,19 @@ jobs:
1111

1212
- name: 📚 Git Checkout
1313
uses: actions/checkout@v4
14-
with:
15-
path: packages/approval_tests
1614

1715
- name: ♻️ Run MarkdownSnippets
1816
run: |
1917
dotnet tool install --global MarkdownSnippets.Tool
2018
mdsnippets ${GITHUB_WORKSPACE}
2119
shell: bash
22-
working-directory: packages/approval_tests
2320

2421
- name: ⬆️ Git Commit and Push
25-
run: |
26-
git config --global user.name "github actions"
27-
git config --global user.email "[email protected]"
28-
git add .
29-
git commit -m ". d updated markdown snippets"
30-
git push origin main
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
working-directory: packages/approval_tests
22+
uses: github-actions-x/[email protected]
23+
with:
24+
github-token: "${secrets.GITHUB_TOKEN}"
25+
commit-message: ". d updated markdown snippets"
26+
rebase: 'true'
27+
push-branch: 'main'
28+
name: github actions
29+

0 commit comments

Comments
 (0)