-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef66fb6
commit 7465aa1
Showing
3 changed files
with
35 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
name: Formatting and Snippets | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: packages/approval_tests | ||
|
||
format_and_snippets: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: packages/approval_tests | ||
steps: | ||
- name: 📚 Git Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📚 Git Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: ♻️ Run MarkdownSnippets | ||
run: | | ||
dotnet tool install --global MarkdownSnippets.Tool | ||
mdsnippets ${GITHUB_WORKSPACE} | ||
shell: bash | ||
- name: ♻️ Run MarkdownSnippets | ||
run: | | ||
dotnet tool install --global MarkdownSnippets.Tool | ||
mdsnippets ${GITHUB_WORKSPACE} | ||
shell: bash | ||
|
||
- name: ⬆️ Git Commit and Push | ||
uses: github-actions-x/[email protected] | ||
with: | ||
github-token: "${secrets.GITHUB_TOKEN}" | ||
commit-message: ". d updated markdown snippets" | ||
rebase: 'true' | ||
push-branch: 'main' | ||
name: github actions | ||
email: [email protected] | ||
- name: ⬆️ Git Commit and Push | ||
uses: github-actions-x/[email protected] | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
commit-message: ". d updated markdown snippets" | ||
rebase: 'true' | ||
push-branch: 'main' | ||
name: github actions | ||
email: [email protected] |