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

ci/precommit: checkout with token #194

Merged
merged 4 commits into from
Nov 16, 2023
Merged

ci/precommit: checkout with token #194

merged 4 commits into from
Nov 16, 2023

Conversation

Borda
Copy link
Member

@Borda Borda commented Nov 16, 2023

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did all existing and newly added tests pass locally?

What does this PR do?

debugging:

Started: bash /home/runner/work/_actions/actions-js/push/v1.4/start.sh
Push to branch ci/precommit
[ci/precommit d98cb32] pre-commit: running and fixing...
 1 file changed, 1 deletion(-)
To https://github.com/Lightning-AI/sphinx-theme.git
 ! [remote rejected] HEAD -> ci/precommit (refusing to allow a GitHub App to create or update workflow `.github/workflows/code-lint.yml` without `workflows` permission)
error: failed to push some refs to 'https://github.com/Lightning-AI/sphinx-theme.git'
Error: Invalid status code: 1
    at ChildProcess.<anonymous> (/home/runner/work/_actions/actions-js/push/v1.4/start.js:9:[19](https://github.com/Lightning-AI/sphinx-theme/actions/runs/6894240260/job/18755592670?pr=98#step:6:20))
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) {
  code: 1
}
Error: Invalid status code: 1
    at ChildProcess.<anonymous> (/home/runner/work/_actions/actions-js/push/v1.4/start.js:9:19)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:[30](https://github.com/Lightning-AI/sphinx-theme/actions/runs/6894240260/job/18755592670?pr=98#step:6:31)4:5)

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.


📚 Documentation preview 📚: https://lit-utilities--194.org.readthedocs.build/en/194/

@github-actions github-actions bot added the ci/cd Continuous integration and delivery label Nov 16, 2023
@Borda
Copy link
Member Author

Borda commented Nov 16, 2023

validated on another private repo:
image

@Borda Borda marked this pull request as ready for review November 16, 2023 17:32
@Borda Borda merged commit 03b6b75 into main Nov 16, 2023
46 checks passed
@Borda Borda deleted the ci/precommit branch November 16, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Continuous integration and delivery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant