5 Commits

Author SHA1 Message Date
3addda58b0 fix: correct codeql workflow language, queries, permissions, and action ref
- Use 'javascript' instead of 'javascript-typescript' for CodeQL language
- Add queries: security-and-quality parameter
- Set root-level permissions to {}
- Add job-level permissions (actions, contents, packages, security-events)
- Pin action ref to commit hash with version comment
- Fix mangled cron schedule
2026-03-07 17:49:59 +02:00
1853981eb2 fix: correct codeql workflow permissions, cron, and action ref
- Set root-level permissions to {}
- Add job-level permissions (actions, contents, packages, security-events)
- Pin action ref to commit hash with version comment
- Fix mangled cron schedule
- Clean up workflow structure
2026-03-07 17:32:37 +02:00
7dc74e96dc ci: migrate codeql to composable workflow 2026-03-07 14:10:36 +02:00
semantic-release-bot
4ad0e13299 chore(release): 1.0.5 [skip ci]
## [1.0.5](https://github.com/ivuorinen/base-configs-prettier/compare/v1.0.4...v1.0.5) (2026-03-07)
2026-03-07 04:41:32 +00:00
renovate[bot]
19195c0dc4 chore(deps): update github/codeql-action action (v4.32.5 → v4.32.6) (#137)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-07 04:38:59 +00:00
3 changed files with 15 additions and 25 deletions

View File

@@ -1,46 +1,34 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: 'CodeQL'
name: "CodeQL"
on:
push:
branches: ['main']
branches: ["main"]
pull_request:
branches: ['main']
branches: ["main"]
schedule:
- cron: '30 1 * * 0' # Run at 1:30 AM UTC every Sunday
- cron: "30 1 * * 0"
merge_group:
permissions:
actions: read
contents: read
permissions: {}
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
packages: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript'] # Add languages used in your actions
language: ["actions", "javascript"]
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Initialize CodeQL
uses: github/codeql-action/init@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
- name: CodeQL Analysis
uses: ivuorinen/actions/codeql-analysis@97105fc2a909360678588cb50caf0be5144be486 # v2026.03.06
with:
languages: ${{ matrix.language }}
language: ${{ matrix.language }}
queries: security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
with:
category: '/language:${{matrix.language}}'

View File

@@ -3,6 +3,8 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.0.5](https://github.com/ivuorinen/base-configs-prettier/compare/v1.0.4...v1.0.5) (2026-03-07)
## [1.0.4](https://github.com/ivuorinen/base-configs-prettier/compare/v1.0.3...v1.0.4) (2026-03-07)
## [1.0.3](https://github.com/ivuorinen/base-configs-prettier/compare/v1.0.2...v1.0.3) (2026-03-05)

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/prettier-config",
"version": "1.0.4",
"version": "1.0.5",
"type": "module",
"description": "ivuorinen's shareable configuration for Prettier.",
"author": {