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

Activity

added 2 commits that reference this issue on Jun 15, 2025
24801eb
8928d69
linked a pull request that will close this issue on Jun 15, 2025
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @lennax

      Issue actions

        Example action pins version missing script full-sync · Issue #834 · github/safe-settings