Skip to content

Otterdog v1.9.0

Latest

Choose a tag to compare

@heurtematte heurtematte released this 30 Nov 13:31
· 4 commits to main since this release
9053c11

Added

  • feat: manage the GitHub Actions setting sha_pinning_required of organizations and repositories, which requires actions to be pinned to a full-length commit SHA (#945, #946).
    When an organization requires SHA pinning, the setting of its repositories is ignored.
  • feat: manage the actions policies of organizations and repositories, which restrict the actors and the events that can run their workflows (#945, #947).
    The rules that otterdog does not support yet, e.g. Require lockfile whose rule GitHub does not publish in its API, are kept when a policy is updated.
    A policy added while a policy of the same name already exists on GitHub, e.g. created in the web UI, updates it instead of failing with Name must be unique.
    The policies are only managed with a default configuration that defines newOrgActionsPolicy and newRepoActionsPolicy, and the policies that are not configured are only deleted with --delete-resources.
  • feat(cli): apply only selected deletions with --delete-filter by @heurtematte in #939
  • feat(web): explain in the validation comment why a pull request cannot be auto-merged by @heurtematte in #943
  • feat(web): add /internal/ready and run init and check once at a time by @heurtematte in #949

Changed

  • Breaking: the standard Jsonnet defaults set sha_pinning_required to false in the workflow settings of organizations and repositories (#945, #946).
    An organization or a repository that requires SHA pinning in the GitHub web UI needs sha_pinning_required: true in its configuration, otherwise apply disables it.
  • test: isolate the credentials tests from the local environment by @heurtematte in #940
  • Perf/parallel repo loading by @heurtematte in #942
  • chore(deps-dev): bump dnspython from 2.9.0 to 2.9.2 in the python-security group across 1 directory by @dependabot[bot] in #948
  • chore(deps): bump the github-actions group with 2 updates by @dependabot[bot] in #953
  • chore(deps-dev): bump types-aiofiles from 25.1.0.20260518 to 25.1.0.20261107 by @dependabot[bot] in #957
  • chore(deps): bump the python-minor-patch group across 1 directory with 8 updates by @dependabot[bot] in #955
  • chore(deps-dev): bump types-pyyaml from 6.0.12.20261030 to 6.0.12.20261103 by @dependabot[bot] in #956
  • chore(deps): bump the npm-minor-patch group in /otterdog/webapp/static with 4 updates by @dependabot[bot] in #952
  • Docs/rework workflow guides by @heurtematte in #951
  • docs: add instructions and skills for AI coding agents by @heurtematte in #959
  • Chore/python 3.15 by @heurtematte in #958
  • docs: align SECURITY.md with the Eclipse baseline policy by @heurtematte in #966
  • chore(deps): bump the npm-minor-patch group in /otterdog/webapp/static with 6 updates by @dependabot[bot] in #968
  • chore(deps): bump node from c9f0236 to 6bd9ab4 in /docker by @dependabot[bot] in #969
  • chore(deps): bump the python-minor-patch group with 9 updates by @dependabot[bot] in #970
  • chore(deps-dev): bump types-pyyaml from 6.0.12.20261103 to 6.0.12.20261113 by @dependabot[bot] in #971

Removed

  • Breaking: remove the dependency_track_upload policy, SBOMs are uploaded to Dependency-Track with pia instead (#944).
    The policy files of type dependency_track_upload from the policies directory of the otterdog config repository and from otterdog/policies of the config repositories of the organizations can be deleted: a file that is left is skipped, but logged as an error each time the policies are loaded.
    The stored policy and its status are removed, and disappear from the dashboard, when the policies of an organization are fetched the next time.
    The settings DEPENDENCY_TRACK_URL and DEPENDENCY_TRACK_TOKEN are no longer used.
    The GitHub App no longer needs to subscribe to workflow_run events: unsubscribe it, the deliveries are ignored until then.
  • chore(webapp): remove the dependency_track_upload policy by @lukpueh in #944

Fixed

  • fix(cli): exit without a traceback when interrupted at startup by @heurtematte in #937
  • fix(web): perform the 2FA checkup requested by GitHub on web login by @heurtematte in #938
  • fix(repo): stop reporting code scanning languages added by GitHub by @heurtematte in #941
  • fix(web): validate the merge commit of a pull request by @heurtematte in #950
  • fix(rest): only retry idempotent requests by @heurtematte in #960
  • fix(cli): report failures of delete-file and dispatch-workflow by @heurtematte in #961
  • fix(cli): keep errors and logs out of JSON written to stdout by @heurtematte in #963
  • fix(rest): only ignore a 422 for an already deleted reference by @heurtematte in #964
  • fix(rest): raise on a rate limit when reading immutable release settings by @heurtematte in #962
  • Fix/auto merge comment by @heurtematte in #965
  • fix(webapp): find a text in the editors of the playground by @heurtematte in #967
  • fix(rest): wait for pending code security attachments and retry on 409 by @heurtematte in #972