Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ibindoff opened this issue Jul 4, 2024 · 3 comments
Open

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

ibindoff opened this issue Jul 4, 2024 · 3 comments

Comments

@ibindoff
Copy link

ibindoff commented Jul 4, 2024

      - name: Do composer install for SAP backend
        uses: php-actions/[email protected]
        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/[email protected]/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?

@g105b
Copy link
Member

g105b commented Jul 11, 2024

I would expect to see this script as executable already, but I'll double check on this version and provide an update if possible.

@alanef
Copy link

alanef commented Sep 25, 2024

I have a similar error

| Building PHP latest with extensions: ... | /usr/local/bin/docker-php-entrypoint: exec: line 9: composer: Permission denied

@saitho
Copy link

saitho commented Oct 5, 2024

Same here: /usr/local/bin/docker-php-entrypoint: exec: line 9: composer: Permission denied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants