-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
Commit fails with "process '/usr/bin/git' failed with exit code 128" #1318
Comments
Nevermind -- my bad. The default is to restrict read/write by actions. To fix: Settings --> Actions --> general --> Workflow permissions and set to read and write |
name: CI Allows you to run this workflow manually from the Actions tabworkflow_dispatch: env: permissions: jobs: |
确实这样做的,但是没有生效。 |
Describe the bug
The pkgdown gh-pages deploy script fails b/c it can't find
git
This seems to be the same issue as the one closed in #308.
Reproduction Steps
the script is here:
https://github.com/cmatKhan/brentlabXGBoost/blob/main/.github/workflows/pkgdown.yaml
note that this is modified to use
renv
to handle the dependencies.The text was updated successfully, but these errors were encountered: