Skip to content

macOS permissions #149

Open
Open

Description

@reneleonhardt

Have all necessary permissions been set for macOS?

"act" Not Opened

Apple could not verify “act” is free of malware that may harm your Mac or compromise your privacy.

Activity

  1. ChristopherHX commented on Dec 18, 2025

    @ChristopherHX
    Contributor

    You downloaded the release here?

    Since this binary here has not been provided as a notarized (this is not free of charge) .dmg file, apple usually block anything like this.

    Once you see this and checked file integrity yourself e.g. trust this project. Close the Gate Keeper Message. Open Settings => Search Gate Keeper (Data and privacy is the section) there you find a button to open it anyway after confirming admin rights.


    Usually if you install this as gh cli extension (or in case of the of the original nektos/act via a package manager brew).
    The binary might not be flagged as downloaded from internet and will not be blocked by gatekeeper.

  2. reneleonhardt commented on Dec 18, 2025

    @reneleonhardt
    Author

    Yes, you can try it yourself:
    https://github.com/actions-oss/act-cli/releases/download/v0.3.5/act-cli_Darwin_arm64.tar.gz

    Even make requested root permissions without telling what for, and failed after 40 minutes on a powerful M4 Max, and was only possible to start after suppressing all the failing lints anyway, so I think I won't try again myself.

  3. ChristopherHX commented on Dec 18, 2025

    @ChristopherHX
    Contributor

    Even make requested root permissions without telling what for

    I am not using the make file myself, since tests run more reliable in CI.
    Could be the cause of lint failures, since local linter installs complain about old code while CI linter only complain about changed code.
    Some tests rely on the Operating System, others need qemu set up.

    Building is as easy as running go build, then act-cli is in your folder. I might need to simplify the makefile, if it runs linters by default and you didn't change code.

  4. ChristopherHX commented on Dec 18, 2025

    @ChristopherHX
    Contributor

    PREFIX=/usr/local/bin the default needs root rights, but this is not unusual for me, would suggesting another prefix in such an error be good?

  5. ChristopherHX commented on Dec 19, 2025

    @ChristopherHX
    Contributor

    Under macOS 15.5 is it like this, this is years like this to protect people from files downloaded from the internet.

    Image

    Press ok, the grey button.

    Eventually check if this has been tampered.

    Then Open System Settings

    Selected the Security tab / Search gatekeeper

    Image

    Allow this app to run anyway at your own risk.

    Now if you run it again you get this popup

    Image

    Again "Allow this app to run anyway at your own risk"

    Confirm your admin credentials

    Now act --version runs. (Changing my system locale for screenshots was not that important for me, I know what I am writing about)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions