EXERLOG / exer_log

exer_log - authored by @KalleHallden

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automation: Add workflow for automatically create new release when pull request is merged into main branch (I can do that)

aayushchugh opened this issue · comments

I think that we should have a workflow in this repo which will automatically create new release on every pull request merged into
main branch. but we have to follow some strict steps to implement this

  • Create new dev branch and set it to default
  • Every one should follow conventional commits eg:- feat(login): ✨ added feedback for users
  • Use semantic release for creating new release (this is help in automatically create release)

I can implement the workflow. but asking for permission to do so

Yeah this would be a great thing to implement. I have created a branch called alpha that I think we can use instead of the dev branch. Unless you think that dev would be a more conventional name that would be more suitable?

I will start working on this now. I think alpha is good name

@KalleHallden I have completed the task. but I can't create pull request in master because If you merge that, It will trigger action to create new release and alpha branch is behind master so I think that you should update alpha with master first. Than I will create new pull request in alpha

Alright I think I have done that now :)

@KalleHallden These are requirements to make this work

  • Create a Personal Access token and add it to actions secret

image

  • Make alpha default branch
  • Set Squash and Merge as default option for mering pull request in repo settings
    image

What does the personal access token need in terms of access?

I granted these permissions duringtesting

image
image

Alright it has been added