Skip to content

allow testing watch-dependencies workflow #3821

Description

@minrk

The watch-dependencies workflow has elevated permissions and is protected by the github actions environment watch-dependencies-env. This means it cannot be tested.

To allow testing PRs to watch-dependnecies, we should:

  1. add pull_request trigger in watch-dependencies.yaml
  2. split the workflow into two jobs:
  3. figure out all the updates and produce outputs (no environment no credentials)
  4. second job that only makes the PR, with environment: watch-dependencies-env and if: not a PR, using the previous job's outputs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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