diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..b52ec89 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @Thaleszh \ No newline at end of file diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..e43e621 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,24 @@ +# .github/workflows/codeql-analysis.yml +name: "CodeQL" +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + # required for all workflows + security-events: write + + # required to fetch internal or private CodeQL packs + packages: read + +jobs: + analyze: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 \ No newline at end of file diff --git a/.github/workflows/stale-pr.yml b/.github/workflows/stale-pr.yml new file mode 100644 index 0000000..12aa261 --- /dev/null +++ b/.github/workflows/stale-pr.yml @@ -0,0 +1,14 @@ +name: 'Close stale PRs' +on: + schedule: + - cron: '30 1 * * *' + workflow_dispatch: + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + days-before-issue-stale: -1 + repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file