1
0
mirror of https://github.com/tommytran732/MariaDB-Root-Password-Reset synced 2024-11-22 18:51:34 -05:00

Compare commits

..

2 Commits

Author SHA1 Message Date
6280d0a9ff
Add ShellCheck badge
Signed-off-by: Tommy <contact@tommytran.io>
2024-05-31 11:05:25 -07:00
dce60f9743
Add ShellCheck workflow
Signed-off-by: Tommy <contact@tommytran.io>
2024-05-31 11:04:17 -07:00
2 changed files with 39 additions and 0 deletions

37
.github/workflows/shellcheck.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: ShellCheck
on:
workflow_dispatch:
push:
branches:
- master
- main
paths-ignore:
- '**.gitignore'
- '**.md'
- 'LICENSE'
- '**.conf'
- '**.service'
- '**.timer'
- '**.path'
- '**.list'
pull_request:
paths-ignore:
- '**.gitignore'
- '**.md'
- 'LICENSE'
- '**.conf'
- '**.service'
- '**.timer'
- '**.path'
- '**.list'
jobs:
shellcheck:
name: Bash syntax checker
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master

View File

@ -1,5 +1,7 @@
# MariaDB-Root-Password-Reset # MariaDB-Root-Password-Reset
[![ShellCheck](https://github.com/TommyTran732/MariaDB-Root-Password-Reset/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/TommyTran732/MariaDB-Root-Password-Reset/actions/workflows/shellcheck.yml)
Simple scripts to reset your MariaDB root password. Please note that for MariaDB 10.4.3+, it will change the authentication for root from unix_socket_authentication to mysql_native_authentication (How it was with MariaDB 10.4.2 and below). Simple scripts to reset your MariaDB root password. Please note that for MariaDB 10.4.3+, it will change the authentication for root from unix_socket_authentication to mysql_native_authentication (How it was with MariaDB 10.4.2 and below).
- MariaDB 10.4.3 - 10.6.x: Use the `mariadb-104.sh` script - MariaDB 10.4.3 - 10.6.x: Use the `mariadb-104.sh` script