SpinlockLabs / github.dart

GitHub Client Library for Dart

Home Page:https://pub.dev/packages/github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PR run failed: Auto-Release on PR Merge

CaseyHillers opened this issue · comments

https://github.com/SpinlockLabs/github.dart/actions/runs/2060066612

Run git config --global user.name 
  git config --global user.name 
  git config --global user.email 
  export PATH="$PATH":"$HOME/.pub-cache/bin"
  export GITHUB_TOKEN=***
  export MACHINE_GITHUB_API_TOKEN=
  pub get
  pub global activate cider
  dart tool/auto_release_on_merge.dart SpinlockLabs/github.dart [3](https://github.com/SpinlockLabs/github.dart/runs/5741549092?check_suite_focus=true#step:4:3)0[4](https://github.com/SpinlockLabs/github.dart/runs/5741549092?check_suite_focus=true#step:4:4)
  shell: sh -e {0}
Error: Process completed with exit code 1.

👋 Thanks for reporting! @robrbecker will take a look.

@robbecker-wf are you able to take a look?

I will take a look. Probably permissions.

well, there appears to be a bug in the workflow, so I just manually triggered a release. I'll keep looking at it and fix the workflow.

I've cleaned up and fixed up the script and workflow files for auto-releasing. Also, added a bit more detail about the process in the contributing guide here https://github.com/SpinlockLabs/github.dart/blob/master/CONTRIBUTING.md#releasing--publishing

We'll see if it uses the right permissions when it runs on a PR that is opened and merged by someone other than me.