openMSL / sl-2-0-traffic-participant-model-repository-template

Template repository: Clone and build your ASAM OSI traffic participant model.
Mozilla Public License 2.0
3 stars 2 forks source link

esmini checkout in pipeline #8

Closed ClemensLinnhoff closed 4 months ago

ClemensLinnhoff commented 4 months ago

Describe the bug: There is a problem checking out esmini in the pipeline:

Cloning into 'esmini'...
fatal: active `post-checkout` hook found during `git clone`:
    /home/runner/work/sl-2-0-traffic-participant-model-repository-template/sl-2-0-traffic-participant-model-repository-template/esmini/.git/hooks/post-checkout
For security reasons, this is disallowed by default.
If this is intentional and the hook should actually be run, please
run the command again with `GIT_CLONE_PROTECTION_ACTIVE=false`
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

To Reproduce: Steps to reproduce the behavior:

https://github.com/openMSL/sl-2-0-traffic-participant-model-repository-template/actions/runs/9254177640/job/25455498811

ClemensLinnhoff commented 4 months ago

Seems to be a GitHub bug: https://github.com/git-lfs/git-lfs/issues/5749

@jdsika I propose to wait a couple of days to see if this is fixed by GitHub.

ClemensLinnhoff commented 4 months ago

Alternatively, add the following environment variable to the esmini clone job:

env:
  GIT_CLONE_PROTECTION_ACTIVE: false