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

Changes in the GitHub Actions? #16

Open
dubinsky opened this issue May 31, 2020 · 4 comments
Open

Changes in the GitHub Actions? #16

dubinsky opened this issue May 31, 2020 · 4 comments

Comments

@dubinsky
Copy link

Something changed in GitHub Actions recently (for instance, there is now "Post Check out the code"
step in my build log); v2.2 started crashing with some Python stacktrace; v2.6 does not crash,
but no changes get pushed (I just get "Your branch is up to date"). When I added rebase: true, I got: "Please tell me who you are. ... user.email ... user.name ..." - looks like defaults do not apply in the rebase case, so I had to set email and name explicitly...

@paskal
Copy link
Contributor

paskal commented Jun 18, 2020

I see similar picture. Code:

    - name: git status
      run: git status
    - name: commit kernel-specific library
      uses: github-actions-x/[email protected]
      with:
        github-token: ${{ secrets.BPFINK_COMMIT_TOKEN }}
        commit-message: 'bump kernel-specific libraries'

Output:

---
Run git status
On branch automated_build
Your branch is up to date with 'origin/automated_build'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   pkg/ebpf/vfs-3.10.o

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	golangci-lint
	profile.cov

no changes added to commit (use "git add" and/or "git commit -a")

---
Run github-actions-x/[email protected]
login paskal
password ***
machine api.github.com
login paskal
password ***

Your branch is up to date with 'origin/automated_build'.

@paskal
Copy link
Contributor

paskal commented Jun 18, 2020

Output with rebase: true:

  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/base.py", line 232, in run
    return p.run()
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/base.py", line 193, in runner
    return run_proc(p, retcode, timeout)
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/processes.py", line 302, in run_proc
    return _check_process(proc, retcode, timeout, stdout, stderr)
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/processes.py", line 22, in _check_process
    proc.verify(retcode, timeout, stdout, stderr)
  File "/usr/local/lib/python3.7/site-packages/plumbum/machines/base.py", line 26, in verify
    stderr)
plumbum.commands.processes.ProcessExecutionError: Unexpected exit code: 128
Command line: | /usr/bin/git pull --rebase --autostash origin thecrogers-docker
Stderr:       | From https://github.com/bookingcom/bpfink
              |  * branch            thecrogers-docker -> FETCH_HEAD
              | 
              | *** Please tell me who you are.
              | 
              | Run
              | 
              |   git config --global user.email "[email protected]"
              |   git config --global user.name "Your Name"
              | 
              | to set your account's default identity.
              | Omit --global to set the identity only in this repository.
              | 
              | fatal: empty ident name (for <>) not allowed
              | fatal: Cannot autostash

@moltar
Copy link
Contributor

moltar commented Nov 10, 2020

Same problem here. Any fixes?

moltar added a commit to moltar/typescript-runtime-type-benchmarks that referenced this issue Nov 10, 2020
@cristinallamas
Copy link

same :) no actual changes get committed, I can see the files that changed but no commit takes place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants