Open Fontanapink opened 1 year ago
Thanks so much for reporting this! I will take a look at this (after the MS Build conference is over). Thank you!
I've just fixed this. It turns out that the default permission for GITHUB_TOKEN changed from read-write to real-only in February, and that caused the checkin during the initialization action to fail. Sorry for taking so long to get to the bottom of this, and thank you for reporting it.
I started a new repo with your template and the initial_setup workflow run fails with the following error:
[initial_setup](https://github.com/Fontanapink/Detecting-Fake-News-A-Machine-Learning-Approach/actions/runs/5005023937/jobs/8968709029#step:4:11) The
set-outputcommand is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Investigating further this error I found the following:
Run stefanzweifel/git-auto-commit-action@v4 Started: bash /home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/entrypoint.sh INPUT_REPOSITORY value: . INPUT_STATUS_OPTIONS: INPUT_FILE_PATTERN: . INPUT_BRANCH value: M environment.yml D ml-template/src/main.py Your branch is up to date with 'origin/main'. INPUT_ADD_OPTIONS: INPUT_FILE_PATTERN: . INPUT_COMMIT_OPTIONS: --no-verify --signoff INPUT_COMMIT_USER_NAME: github-actions[bot] INPUT_COMMIT_USER_EMAIL: 4[18](https://github.com/Fontanapink/Detecting-Fake-News-A-Machine-Learning-Approach/actions/runs/5005023937/jobs/8968709029#step:6:19)98282+github-actions[bot]@users.noreply.github.com INPUT_COMMIT_MESSAGE: Initial repo setup INPUT_COMMIT_AUTHOR: Fontanapink <Fontanapink@users.noreply.github.com> [main bdb3323] Initial repo setup Author: Fontanapink <Fontanapink@users.noreply.github.com> 2 files changed, 1 insertion(+), 1 deletion(-) rename {ml-template => Detecting-Fake-News-A-Machine-Learning-Approach}/src/main.py (100%) INPUT_TAGGING_MESSAGE: No tagging message supplied. No tag will be added. INPUT_PUSH_OPTIONS: remote: Permission to Fontanapink/Detecting-Fake-News-A-Machine-Learning-Approach.git denied to github-actions[bot]. fatal: unable to access 'https://github.com/Fontanapink/Detecting-Fake-News-A-Machine-Learning-Approach/': The requested URL returned error: 403 Error: Invalid status code: 128 at ChildProcess.<anonymous> (/home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/index.js:17:[19](https://github.com/Fontanapink/Detecting-Fake-News-A-Machine-Learning-Approach/actions/runs/5005023937/jobs/8968709029#step:6:20)) at ChildProcess.emit (node:events:5[27](https://github.com/Fontanapink/Detecting-Fake-News-A-Machine-Learning-Approach/actions/runs/5005023937/jobs/8968709029#step:6:28):[28](https://github.com/Fontanapink/Detecting-Fake-News-A-Machine-Learning-Approach/actions/runs/5005023937/jobs/8968709029#step:6:29)) at maybeClose (node:internal/child_process:1092:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:[30](https://github.com/Fontanapink/Detecting-Fake-News-A-Machine-Learning-Approach/actions/runs/5005023937/jobs/8968709029#step:6:31)2:5) { code: 128 } Error: Invalid status code: 128 at ChildProcess.<anonymous> (/home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/index.js:17:19) at ChildProcess.emit (node:events:[52](https://github.com/Fontanapink/Detecting-Fake-News-A-Machine-Learning-Approach/actions/runs/5005023937/jobs/8968709029#step:6:53)7:28) at maybeClose (node:internal/child_process:1092:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
Help please, I have no idea how to solve it