Skip to content

Commit

Permalink
feat(build): add conflcits && codeql-analysis yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckySoLucky committed Jun 26, 2024
1 parent 9daae1c commit 484ce05
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "CodeQL"

on:
schedule:
- cron: "30 1 * * *"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

permissions:
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: javascript

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
16 changes: 16 additions & 0 deletions .github/workflows/conflicts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Mark Conflicts"

on:
push:
pull_request_target:
types: [synchronize]

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Check for PR conflicts
uses: eps1lon/actions-label-merge-conflict@releases/2.x
with:
dirtyLabel: "has conflicts"
repoToken: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 484ce05

Please sign in to comment.