From 5a970a8f04f08fe88025af322249b17391b92b96 Mon Sep 17 00:00:00 2001 From: wellwelwel <46850407+wellwelwel@users.noreply.github.com> Date: Wed, 11 Mar 2026 03:54:04 -0300 Subject: [PATCH 1/2] cd: use "public" token --- .github/workflows/cd_publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd_publish.yml b/.github/workflows/cd_publish.yml index b4079db..4818b42 100644 --- a/.github/workflows/cd_publish.yml +++ b/.github/workflows/cd_publish.yml @@ -23,7 +23,7 @@ jobs: uses: google-github-actions/release-please-action@v3 id: release with: - token: ${{ secrets.PAT }} + token: ${{ secrets.GITHUB_TOKEN }} release-type: node package-name: '@pokujs/multi-suite' changelog-path: 'CHANGELOG.md' From f5a955ae7627bd47904c685efbf552dc9857768d Mon Sep 17 00:00:00 2001 From: wellwelwel <46850407+wellwelwel@users.noreply.github.com> Date: Wed, 11 Mar 2026 03:54:10 -0300 Subject: [PATCH 2/2] ci: add CodeQL --- .github/workflows/ci_codeql.yml | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/ci_codeql.yml diff --git a/.github/workflows/ci_codeql.yml b/.github/workflows/ci_codeql.yml new file mode 100644 index 0000000..0bf278b --- /dev/null +++ b/.github/workflows/ci_codeql.yml @@ -0,0 +1,41 @@ +name: '🔐 CI — CodeQL' + +on: + push: + branches: + - 'main' + pull_request: + workflow_dispatch: + +jobs: + analyze: + name: Analyze + runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} + timeout-minutes: 15 + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: ['javascript-typescript'] + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + config-file: ./.github/codeql/codeql-config.yml + + - name: Autobuild + uses: github/codeql-action/autobuild@v3 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: '/language:${{matrix.language}}'