Skip to content

Example action pins version missing script full-sync #834

Open
@lennax

Description

@lennax

Problem Description

When running the example GitHub Actions workflow, which pins SAFE_SETTINGS_VERSION: 2.1.13, the workflow fails with npm error Missing script: "full-sync"

(providing permalink for posterity, but at the time of reporting, this is the tip of the branch main-enterprise)
https://github.com/github/safe-settings/blob/fbdb6730c1d6a823d962ff8454f55ded96fb7ab5/docs/github-action.md

What is actually happening

there is no full-sync command at the tag 2.1.13

$ git grep full-sync 2.1.13  -- package.json
$ git grep full-sync main-enterprise  -- package.json
main-enterprise:package.json:    "full-sync": "node ./full-sync.js",

What is the expected behavior

The example workflow in the documentation should pin a version that contains the full-sync command.

e.g. SAFE_SETTINGS_VERSION: 2.1.17

Context

Are you using the hosted instance of probot/settings or running your own?

neither

If running your own instance, are you using it with github.com or GitHub Enterprise?

github.com

Version of probot/settings

the version of safe-settings pinned in the example workflow (2.1.13)

Version of GitHub Enterprise

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions