diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-04 19:47:58 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-04 19:47:58 +0300 |
| commit | 8d0d919fbf43230148da7533519ed0ffdfaa4197 (patch) | |
| tree | 27e352d6ca09910e577ec27a10659814e88b15b9 /.github/workflows/json4cpp-semgrep.yml | |
| parent | fce202465d4fede9e19d4d057eebbaa702291652 (diff) | |
| download | Project-Tick-8d0d919fbf43230148da7533519ed0ffdfaa4197.tar.gz Project-Tick-8d0d919fbf43230148da7533519ed0ffdfaa4197.zip | |
NOISSUE add GitHub Actions scripts for PR preparation and review management
- Introduced `prepare.js` to validate PR mergeability and branch targeting.
- Added `reviews.js` for automated review dismissal and posting.
- Created `run` script to execute actions with GitHub context.
- Implemented rate limiting in `withRateLimit.js` to manage API requests.
- Added `supportedBranches.js` for branch classification logic.
- Created `update-pinned.sh` for updating pinned dependencies.
- Added `pinned.json` to manage pinned Nix dependencies.
- Updated `libnbtplusplus` version from 2.3 to 3.0 and adjusted README accordingly.
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to '.github/workflows/json4cpp-semgrep.yml')
| -rw-r--r-- | .github/workflows/json4cpp-semgrep.yml | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/.github/workflows/json4cpp-semgrep.yml b/.github/workflows/json4cpp-semgrep.yml index 6b594e6bab..0e728b3830 100644 --- a/.github/workflows/json4cpp-semgrep.yml +++ b/.github/workflows/json4cpp-semgrep.yml @@ -1,16 +1,8 @@ name: "json4cpp: Semgrep" on: - push: - branches: ["develop"] - paths: - - 'json4cpp/**' - pull_request: - branches: ["develop"] - paths: - - 'json4cpp/**' - schedule: - - cron: '23 2 * * 4' + workflow_dispatch: + workflow_call: permissions: contents: read @@ -31,10 +23,9 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: returntocorp/semgrep-action@713efdd345f3035192eaa63f56867b88e63e4e5d + - uses: semgrep/semgrep@caad1d53f48a40fa55cec9e41bf4820f115889b3 with: publishToken: ${{ secrets.SEMGREP_APP_TOKEN }} - publishDeployment: ${{ secrets.SEMGREP_DEPLOYMENT_ID }} generateSarif: "1" - name: Upload SARIF file |
