Skip to content

Unable to execute composer-action.bash in act #119

Description

@ibindoff
      - name: Do composer install for SAP backend
        uses: php-actions/composer@v6.1.0
        with:
          php_version: "8.2"
          container_workdir: backend
          working_dir: backend

Executing with act. Providing GITHUB_TOKEN et al. via .secrets file. e.g. act -b --secret-file my.secrets

| Building PHP 8.2 with extensions:  ...
| /var/run/act/workflow/6-composite-composer_run.sh: line 4: /var/run/act/actions/php-actions-composer@v6.1.1/composer-action.bash: Permission denied

Issue:
Since v6.1.1 we're unable to execute this script in the container. 6.1.0 does not exhibit this same error.

Possible fix:
Seems like a simple permissions error, need to add +x?

Activity

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