Skip to content

Commit

Permalink
add .github/dependabot.yml .github/workflows/build.yml .markdownlint.…
Browse files Browse the repository at this point in the history
…jsonc
  • Loading branch information
alex2276564 committed Jan 9, 2025
1 parent 0ae5162 commit 6e3a43c
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "[GitHub Actions]"

31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test Sury Unlocker Script

on:
push:
pull_request:

jobs:

bash-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up shellcheck
uses: ludeeus/action-shellcheck@master
- name: Run shellcheck
run: |
find . -name "*.sh" -print0 | xargs -0 shellcheck # Finds all files with the .sh extension in the current directory and subdirectories
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Lint Markdown files
uses: DavidAnson/markdownlint-cli2-action@v19
with:
globs: '**/*.md' # Checks all Markdown files in the repository
fix: true # automatically fixes simple problems
config: '.markdownlint.jsonc' # if you have a configuration file
# continue-on-error: true # to prevent the build from crashing due to errors in the documentation
3 changes: 3 additions & 0 deletions .markdownlint.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"MD013": false
}

0 comments on commit 6e3a43c

Please sign in to comment.