diff --git a/.github/scripts/build-publish-summary.sh b/.github/scripts/build-publish-summary.sh index 5e1ce23a..d8036f85 100755 --- a/.github/scripts/build-publish-summary.sh +++ b/.github/scripts/build-publish-summary.sh @@ -36,7 +36,7 @@ fi LANGUAGES=(cpp csharp go java javascript python ruby) TYPES=(src lib ext ext-library-sources) -EXT_LANGUAGES=(csharp java) +EXT_LANGUAGES=(csharp go java python) lang_label() { case "$1" in diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c649cf1..e22a308a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -165,7 +165,7 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'csharp', 'java' ] + language: [ 'csharp', 'go', 'java', 'python' ] steps: - uses: actions/checkout@v7 @@ -250,4 +250,4 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} run: | - ./.github/scripts/pr-configs.sh "${{ github.event.number }}" \ No newline at end of file + ./.github/scripts/pr-configs.sh "${{ github.event.number }}" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5fb6d2ab..23364bf6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -191,7 +191,7 @@ jobs: strategy: fail-fast: false matrix: - language: ["csharp", "java"] + language: ["csharp", "go", "java", "python"] steps: - uses: actions/checkout@v7 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0909b90b..fb4f3a18 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -161,7 +161,7 @@ process for each; most of it is manual today. [`publish.yml`][publish-workflow] is organized as five jobs: four publish jobs, one per pack type (`queries` for `src`, `library` for `lib`, `extensions` for `ext`, `library_sources_extensions` for `ext-library-sources`), each matrixed over every language that has that pack type -(`ext`/`ext-library-sources` only run for `csharp`/`java` today, see [#144][pr-144]) - plus a fifth +(`ext` runs for `csharp`/`go`/`java`/`python`; `ext-library-sources` only runs for `csharp`/`java`, the only languages with that pack) - plus a fifth `summary` job that runs after the other four (`if: always()`, so it still runs even if one of them fails), aggregates their per-pack results into the publish-summary and CodeQL library/query pack version tables, and (on the release-cut `push` trigger only) upserts both tables into the GitHub @@ -198,7 +198,7 @@ To ship a change: - [ ] Make your change in the pack directory you intend to publish: `/src` (queries), `/lib` (library), or `/ext`/`/ext-library-sources` (extensions, - `csharp`/`java` only). + `csharp`/`go`/`java`/`python` only). - [ ] Bump `version:` in that pack's `qlpack.yml`, following [semver](https://semver.org/). Only bump the specific pack(s) you changed; other languages/pack types are unaffected and don't need touching. @@ -439,7 +439,6 @@ Please do get in touch (privacy@github.com) if you have any questions about this [pr-118]: https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/pull/118 [pr-124]: https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/pull/124 [pr-126]: https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/pull/126 -[pr-144]: https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/pull/144 [pr-155]: https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/pull/155 [pr-158]: https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/pull/158 [pr-159]: https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/pull/159