-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG] Permission denied in /entrypoint.sh: line 40 #12
Comments
Do you have any news on this? Does it work again or could you fix it? |
Could you please try your config with |
With |
In b5eb80d I replaced the default value for prettier_version - can you please try again and confirm that it works? |
I now get another error when the action needs to commit:
|
Sadly I couldn't find out why this problem occurs for you. I am running this action on multiple of my own repos and it works so far. |
Will keep you posted if I see it again. It's gone for me now as well. |
I'm getting this too. I'll try setting |
Might be the fix for creyD/prettier_action#12.
Might be the fix for creyD/prettier_action#12
@adriaanvanrossum Could you please send me your config yml file? Thank you! |
Not sure if this is the same config as where the issue was happening though. My workflow config filename: Node CI Main
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check if node is version 12
run: |
if [[ $(node -v | cut -d '.' -f 1 | grep -Eo '[0-9]{1,4}') -eq 12 ]];
then
echo "Node.js version is 12";
else
echo "Node.js version is not 12";
exit 1;
fi
shell: bash
- uses: actions/checkout@v2
- name: Prettier Action on PR
if: github.event_name == 'pull_request'
uses: creyD/prettier_action@v2.2
with:
prettier_version: ^2.0.5
prettier_options: "--write {,!(static|.github)/**/}*.{js,html,json,md,yml,css,scss} static/js/**/*.js"
commit_message: "Run prettier via GitHub Action"
branch: ${{ github.head_ref }}
file_pattern: "."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Prettier Action on master
if: github.ref == 'refs/heads/master'
uses: creyD/prettier_action@v2.2
with:
prettier_version: ^2.0.5
prettier_options: "--write {,!(static|.github)/**/}*.{js,html,json,md,yml,css,scss} static/js/**/*.js"
commit_message: "Run prettier via GitHub Action"
branch: master
file_pattern: "."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: harmon758/postgresql-action@v1
with:
postgresql version: "12"
postgresql db: "test_ci"
postgresql user: "test"
postgresql password: "password"
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, and test
run: |
npm install
npm test
env:
CI: true
NODE_ENV: test |
Could you try the same without the ^? Please specify the version using only a number for this test! |
Hi @creyD ,
my yml file:
|
I did versio to this
|
This is another issue, as this is another problem with the install statement. Could you please try to remove the single quotes (') around your version spec? |
Yes i did...like this |
@boardfish BTW did it work for you? |
Sorry I didn't get back to you sooner - afraid not:
I've got the leeway to merge in despite the action failing - |
I hope all bugs regarding this are resolved with version 3.0. If not, please reopen this! |
Not sure why this is happening, but if I use v1.0 this does not happen:
The text was updated successfully, but these errors were encountered: