You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this action with my Python project but am getting the following error message:
Run ResearchSoftwareActions/[email protected]
undefined:1
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at lint (/home/runner/work/_actions/ResearchSoftwareActions/EnsureCleanNotebooksAction/1.1/dist/index.js:849:23)
at Walker.<anonymous> (/home/runner/work/_actions/ResearchSoftwareActions/EnsureCleanNotebooksAction/1.1/dist/index.js:72:22)
at Walker.emit (events.js:210:5)
at Object.emitSingleEvents [as emitNodeType] (/home/runner/work/_actions/ResearchSoftwareActions/EnsureCleanNotebooksAction/1.1/dist/index.js:458:13)
at Walker.module.exports.191.Walker._wLstatHandler (/home/runner/work/_actions/ResearchSoftwareActions/EnsureCleanNotebooksAction/1.1/dist/index.js:179:19)
at /home/runner/work/_actions/ResearchSoftwareActions/EnsureCleanNotebooksAction/1.1/dist/index.js:197:12
at FSReqCallback.oncomplete (fs.js:159:5)
I am very new to using Github workflows so I may be doing something dumb but I was able to get other actions working properly. The following is my workflow file:
name: notebook
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
clear:
name: clear notebook
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout code
uses: actions/checkout@v2
- name: Ensure clear Jupyter Notebooks
uses: ResearchSoftwareActions/[email protected]
Any help would be appreciated.
I read through a bit of the source code and noticed the project uses Node so I tried adding the following to my job:
Hello,
I'm trying to use this action with my Python project but am getting the following error message:
I am very new to using Github workflows so I may be doing something dumb but I was able to get other actions working properly. The following is my workflow file:
Any help would be appreciated.
I read through a bit of the source code and noticed the project uses Node so I tried adding the following to my job:
but I got the same error message.
The text was updated successfully, but these errors were encountered: