Push commits from Travis CI


#1

Hi!.

We have implemented travis as our CI. Now we want do be able to create a version.properties with the number version of the releases.

For that we created a script on our travis, so when tag is building, it creates the file, and commits in the branch (develop).

The problem here, is how can we push this commit to our repository? Because we have protect branches e nabled, so no one can push directly to develop. And the token to commit from travis is from one of the developers.

We have two options:

  • Create a “super user” token, (from admin) so it will allow commits on main branch.
  • Disable protected branches

Is there any way to make it without that options? Thanks


#2

I am going to close this thread because I’ve determined that it is off-topic.

Please use this forum to discuss the GitHub Platform Early Access programs.

If you have feedback, questions, or suggestions about GitHub features that are not covered by the GitHub Platform Early Access programs, write in to GitHub Support.


#3