Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/mysql-version-check.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: Block MySQL 5.x Usage

on:
pull_request:
branches:
- develop

jobs:
mysql-check:
runs-on:
labels: self-hosted

steps:
- name: Create GitHub App token
id: github-app-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.InsiderActionsApplication_APP_ID }}
private-key: ${{ secrets.InsiderActionsApplication_PRIVATE_KEY }}
- name: Checkout code
uses: actions/checkout@v4

- name: Check for MySQL 5.x
run: |
echo "Scanning for MySQL 5.x usage..."
Expand All @@ -30,4 +32,4 @@ jobs:
exit 1
else
echo "No MySQL 5.x usage found."
fi
fi
Loading