Skip to content

packages.yaml workflow does not run on a new release. #5137

Closed
@matifali

Description

@matifali

packages.yaml was merged in main before 0.12.7 and 0.12.8 releases but it did not run both of the times.

It seems like the trigger,

on:
  release:
    types: [published]

is not working.

There is some context and a similar issue. googleapis/release-please#766

A workaround can be to change the trigger to,

on:
  workflow_run:
    workflows: [release]
    types:
      - completed

This will run the workflow after the release workflow.

Another approach is to create a separate token, as discussed here, https://github.com/orgs/community/discussions/26875

cc @deansheather

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions