Skip to content

actions failure in fork #2045

@jepler

Description

@jepler

I encountered a surprising failure in actions on my fork. This was while building the branch for #1953 but may be applicable generally.

The failure is:

+ git config --global --add safe.directory /__w/linuxcnc/linuxcnc
+ debian/configure
+ debian/update-dch-from-git
successfully configured for 'uspace-Debian-unstable'..
egrep: warning: egrep is obsolescent; using grep -E
no annotated tags found, not even unsigned
no annotated tags found, not even unsigned
fatal: ..: '..' is outside repository at '/__w/linuxcnc/linuxcnc'

Full log at https://github.com/jepler/linuxcnc/actions/runs/3070102780/jobs/4959488545 but those URLs are not durable long-term.

I don't quite see what happened except that things started going wrong because my fork has no tags in it.

Over in CircuitPython we work around this quirk of github (that forks don't reliably have tags) by fetching the tags explicitly from the canonical repo during CI, which would be something like git fetch --tags https://github.com/linuxcnc/linuxcnc

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