Skip to content

Error on pull request events causing lots of noise: unable to get git revision: reference not foundΒ #6031

@k-capehart

Description

@k-capehart

Bug report info

act version:            0.2.84
GOOS:                   darwin
GOARCH:                 arm64
NumCPU:                 14
Docker host:            unix:///Users/kyle.capehart/.colima/gusto/docker.sock
Sockets found:
        $HOME/.docker/run/docker.sock
Config files:
        /Users/kyle.capehart/Library/Application Support/act/actrc:
                -P ubuntu-latest=catthehacker/ubuntu:act-latest
                -P ubuntu-22.04=catthehacker/ubuntu:act-22.04
                -P ubuntu-20.04=catthehacker/ubuntu:act-20.04
                -P ubuntu-18.04=catthehacker/ubuntu:act-18.04
Build info:
        Go version:            go1.25.5
        Module path:           command-line-arguments
        Main version:
        Main path:
        Main checksum:
        Build settings:
                -buildmode:           exe
                -compiler:            gc
                -ldflags:             -X main.version=0.2.84
                DefaultGODEBUG:       containermaxprocs=0,decoratemappings=0,tlssha1=1,updatemaxprocs=0,x509sha256skid=0
                CGO_ENABLED:          1
                CGO_CFLAGS:
                CGO_CPPFLAGS:
                CGO_CXXFLAGS:
                CGO_LDFLAGS:
                GOARCH:               arm64
                GOOS:                 darwin
                GOARM64:              v8.0
Docker Engine:
        Engine version:        29.2.1
        Engine runtime:        runc
        Cgroup version:        2
        Cgroup driver:         cgroupfs
        Storage driver:        overlayfs
        Registry URI:          https://index.docker.io/v1/
        OS:                    Ubuntu 24.04.4 LTS
        OS type:               linux
        OS version:            24.04
        OS arch:               aarch64
        OS kernel:             6.8.0-100-generic
        OS CPU:                4
        OS memory:             7922 MB
        Security options:
                name=apparmor
                name=seccomp,profile=builtin
                name=cgroupns

Command used with act

act -n pull_request -W .github/workflows/deploy-int.yml -e /tmp/act-event-abHnAp --container-daemon-socket

Describe issue

This warning floods my output when testing this workflow. I think it might be related to using the gh cli in the workflow, and repeated attempts to fix it are not working. For now, I'm just filtering it out, because the rest of the workflow runs smoothly.

Link to GitHub repository

No response

Workflow content

I'd prefer not to, since its part of a private repo, but I can provide a trimmed down version if required.

Relevant log output

⎿  time="2026-03-19T17:10:26-04:00" level=info msg="Using docker host 'unix:///Users/kyle.capehart/.colima/gusto/docker.sock', and daemon socket '-'"
     time="2026-03-19T17:10:26-04:00" level=warning msg="unable to get git revision: reference not found"
     *DRYRUN* [Deploy to INT/Deploy to INT] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] ⭐ Run Set up job
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] πŸš€  Start image=catthehacker/ubuntu:act-latest
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform=linux/amd64 username=
     forcePull=true
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID]   🐳  docker create image=catthehacker/ubuntu:act-latest platform=linux/amd64
     entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID]   🐳  docker run image=catthehacker/ubuntu:act-latest platform=linux/amd64
     entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID]   βœ…  Success - Set up job
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] ⭐ Run Main Find validation job ID
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID]   βœ…  Success - Main Find validation job ID [30.074292ms]
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] ⭐ Run Complete job
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] Cleaning up container for job Find Validation Job ID
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID]   βœ…  Success - Complete job
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] 🏁  Job succeeded
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Find Validation Job ID] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy to INT] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy with Validation Lookup/Deploy to INT         ] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] ⭐ Run Set up job
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] πŸš€  Start image=catthehacker/ubuntu:act-latest
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform=linux/amd64 username= forcePull=true
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   🐳  docker create image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[]
     network="host"
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   🐳  docker run image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[]
     network="host"
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   βœ…  Success - Set up job
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] ⭐ Run Main Checkout source code
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   βœ…  Success - Main Checkout source code [7.295375ms]
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] ⭐ Run Main Install sf cli
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   βœ…  Success - Main Install sf cli [16.706541ms]
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] ⭐ Run Main Authenticate using SFDX_AUTH_URL
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   βœ…  Success - Main Authenticate using SFDX_AUTH_URL [19.645458ms]
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] ⭐ Run Main Prepare delta package and determine tests
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   βœ…  Success - Main Prepare delta package and determine tests [334ns]
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] ⭐ Run Main Deploy to Salesforce
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   βœ…  Success - Main Deploy to Salesforce [14.791416ms]
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] ⭐ Run Main Slack Notify Success
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   βœ…  Success - Main Slack Notify Success [18.207292ms]
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] ⭐ Run Complete job
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] Cleaning up container for job deploy
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy]   βœ…  Success - Complete job
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] 🏁  Job succeeded
     *DRYRUN* [Deploy to INT/Deploy SFDC/deploy] unable to get git revision: reference not found

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions