From da83ab4674a4dc23bbd6f745673339b1f2377b6e Mon Sep 17 00:00:00 2001 From: Yelaman Yelmuratov Date: Sun, 30 Jun 2024 23:49:04 +0500 Subject: [PATCH] . e mdsnip --- .github/workflows/mdsnippets.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mdsnippets.yml b/.github/workflows/mdsnippets.yml index be2e12b..1b213b8 100644 --- a/.github/workflows/mdsnippets.yml +++ b/.github/workflows/mdsnippets.yml @@ -8,10 +8,14 @@ jobs: run: working-directory: packages/approval_tests steps: - - name: 📚 Git Checkout uses: actions/checkout@v4 + - name: ✏️ Create mdsnippets.json + run: | + echo '{ "Convention": "InPlaceOverwrite" }' > ${GITHUB_WORKSPACE}/mdsnippets.json + shell: bash + - name: ♻️ Run MarkdownSnippets run: | dotnet tool install --global MarkdownSnippets.Tool @@ -21,9 +25,9 @@ jobs: - name: ⬆️ Git Commit and Push uses: github-actions-x/commit@v2.9 with: - github-token: "${secrets.GITHUB_TOKEN}" + github-token: "${{ secrets.GITHUB_TOKEN }}" commit-message: ". d updated markdown snippets" rebase: 'true' push-branch: 'main' name: github actions - email: actions@github.com + email: actions@github.com