-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't include built theme files in PRs (#99)
- Loading branch information
1 parent
0e4f0d2
commit b7ec1a7
Showing
3 changed files
with
21 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
name: Check that building template does not produce additional changes | ||
name: "Pull Request" | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- "colors/*.vim" | ||
|
||
jobs: | ||
check: | ||
check-generated-theme-directories: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch the repository code | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Update schemes | ||
uses: tinted-theming/tinted-builder-rust@latest | ||
- name: Check if there are changes | ||
run: git diff --exit-code | ||
|
||
- name: Check for changes in restricted directories | ||
run: | | ||
echo "Error: Changes detected in generated theme directory." | ||
echo "this directory should be generated by tinted-theming-bot after merge." | ||
exit 1 |
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