-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hyde-gallery' into hyde-gallery
- Loading branch information
Showing
3 changed files
with
65 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ name: Lint Code Base | |
|
||
on: | ||
push: | ||
branches: [ "hyde-gallery" ] | ||
branches: ["hyde-gallery"] | ||
pull_request: | ||
branches: [ "hyde-gallery" ] | ||
branches: ["hyde-gallery"] | ||
jobs: | ||
run-lint: | ||
runs-on: ubuntu-latest | ||
|
@@ -18,20 +18,22 @@ jobs: | |
uses: github/super-linter@v4 | ||
env: | ||
VALIDATE_ALL_CODEBASE: false | ||
VALIDATE_PYTHON: false | ||
VALIDATE_JSON: true | ||
DEFAULT_BRANCH: "hyde-gallery" | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' # Specify the Python version you need | ||
python-version: "3.x" # Specify the Python version you need | ||
|
||
- name: Run generate_readme.py | ||
run: python generate_readme.py # Run the script from the root directory | ||
run: python generate_readme.py # Run the script from the root directory | ||
|
||
- name: Commit changes | ||
run: | | ||
git config --local user.name "GitHub Action" | ||
git config --local user.email "[email protected]" | ||
git add README.md # Specify the README file or use . for all changes | ||
git add . # Specify the README file or use . for all changes | ||
git commit -m "Update README from GitHub Actions" || echo "No changes to commit" |
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