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

Integrate Auto Library #6

Open
bhavinshah7 opened this issue Oct 14, 2022 · 3 comments
Open

Integrate Auto Library #6

bhavinshah7 opened this issue Oct 14, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@bhavinshah7
Copy link
Collaborator

Integrate Auto Library with orchestrator to achieve the following:

  • Calculate semantic version bumps from PRs
  • Skip a release with the skip-release label
  • Generate changelogs with headers, authors
  • Use labels to create new changelog sections
  • Generate a GitHub release
@bhavinshah7 bhavinshah7 added enhancement New feature or request good first issue Good for newcomers hacktoberfest labels Oct 14, 2022
@rylim
Copy link

rylim commented Oct 19, 2022

@bhavinshah7 can I try to work on this issue?

@rylim
Copy link

rylim commented Oct 20, 2022

Hi @bhavinshah7 I think this issue may require more permission on the https://github.com/graph-quilt/xtext-service-dsl repo.

Also want to confirm with you whether the following auto init option looks good to you? Is the plan to integrate with circleci / github actions?

$ auto init
✔ What package manager plugin would you like to publish your project with? · Maven
✔ What other plugins would you like to use? · all-contributors, conventional-commits, released
✔ What GitHub project you would like to publish? · 100% completed
{
  repoInfo: {
    values: { owner: 'graph-quilt', repo: 'xtext-service-dsl' },
    result: 'graph-quilt/xtext-service-dsl'
  }
}

✔ What git user would you like to make commits with? · <assuming this is our github user>
✔ Only make releases if "release" label is on pull request? (Y/n) · false
✔ Are you using an enterprise instance of GitHub? (Y/n) · false
✔ Would you like to create an .env file? This makes it easy to test and use auto locally. (Y/n) · true
✔ Enter a personal access token for the GitHub API https://github.com/settings/tokens/new · <is this just our own personal token?>
✔ Would you like to use customize the default labels? (Y/n) · false
✔ Would you like to add more labels? (Y/n) · false
✔  success   Wrote configuration to: .autorc
●  note      Next steps:

  - Run "auto create-labels" to create your labels on GitHub
  - Add your environment variables to your CI builds
  - Add "auto shipit" at the end of you build/release process

$ auto create-labels
✖  error     Received 404!

This usually because the GitHub token you're using doesn't have the correct permissions to the repo.

The token used with auto must have at least "write" permission to your repo (graph-quilt/xtext-service-dsl (​https://github.com/graph-quilt/xtext-service-dsl​)) to create releases and labels.

You can check the permission for you token by running "auto info".

@bhavinshah7
Copy link
Collaborator Author

@rylim you will need this info while setting up Auto:
Owner/ServiceAccount: https://github.com/graphquilt-svc
email: [email protected]
I am giving you push access, so you can create a personal github token to set up Auto.

You might want to look at this Github action to add auto to one of the workflows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
Status: No status
Development

No branches or pull requests

2 participants