-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
78 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: CodeQL Migration | ||
on: | ||
schedule: | ||
- cron: '0 0 * * 1' | ||
workflow_dispatch: | ||
inputs: | ||
dry-run: | ||
description: 'Preview changes' | ||
type: boolean | ||
default: false | ||
|
||
jobs: | ||
migrate: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- uses: khulnasoft-lab/codeql-migrator@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
per-page: '20' | ||
dry-run: ${{ inputs.dry-run }} | ||
branch-name: 'feat/codeql-v3-upgrade' | ||
max-workers: '8' | ||
log-level: 'DEBUG' | ||
commit-message: 'โฌ๏ธ Upgrade CodeQL to v3' | ||
pr-title: 'Security: Upgrade CodeQL Action to v3' | ||
pr-body: | | ||
# CodeQL v3 Upgrade | ||
This PR automatically upgrades the CodeQL Action to v3. | ||
## Changes | ||
- Updates CodeQL Action from v2 to v3 | ||
- Maintains existing workflow configuration | ||
- Improves security scanning capabilities |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: CodeQL Migration | ||
on: | ||
schedule: | ||
- cron: '0 0 * * 1' # Runs every Monday | ||
workflow_dispatch: | ||
inputs: | ||
dry-run: | ||
description: 'Preview changes without applying' | ||
type: boolean | ||
default: false | ||
|
||
jobs: | ||
migrate: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Run CodeQL Migrator | ||
uses: khulnasoft-lab/codeql-migrator@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
dry-run: ${{ inputs.dry-run }} | ||
per-page: '20' | ||
branch-name: 'update-codeql-v3' | ||
commit-message: 'chore: update CodeQL action to v3' | ||
pr-title: 'โฌ๏ธ Upgrade CodeQL action to v3' | ||
pr-body: | | ||
This PR updates the CodeQL action from v2 to v3. | ||
- Upgrades GitHub CodeQL Action to latest v3 | ||
- Maintains existing workflow configuration | ||
- Tested and verified compatibility |
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