Skip to content

Assumed location of git repository should be configurable #303

Open
@LebedevRI

Description

@LebedevRI

Currently, the action expects that actions/checkout@v2 was run with default with: path: '',
and if the repo was checked out into some directory, the codeql-action/init fails to find it:
https://github.com/LebedevRI/rawspeed/runs/1396938248?check_suite_focus=true#step:8:56

Run github/codeql-action/init@v1
/usr/bin/docker exec  78986cf722c833ce17429d007c42a3ccb6620eaba4a72ba2d33d11250d91b76b sh -c "cat /etc/*release | grep ^ID"
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Failed to call git to get current commit. Continuing with data from environment: Error: The process 'git' failed with exit code 128

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