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

Create create-release public action #89

Closed
dequejenn opened this issue Nov 16, 2023 · 0 comments · Fixed by #104
Closed

Create create-release public action #89

dequejenn opened this issue Nov 16, 2023 · 0 comments · Fixed by #104
Assignees
Labels
EPIC: release process automations next up Ticket is groomed for next sprint QA: none This ticket does not require QA signoff TYPE: automation Work done on ci (github action, circleci, etc)

Comments

@dequejenn
Copy link

dequejenn commented Nov 16, 2023

Overview

Repo: https://github.com/dequelabs/axe-api-team-public
GHA Name: create-release
Purpose: To generate a release pr
Usage: This GHA will be triggered manually in each repo once the RC passes QA and we are ready to deploy a release

Inputs set per repo

  • base (string) - This is the branch that the PR will merge into

Outputs:##

  • Release PR

Details

This composite action should

  1. Check if there is a release in progress using .github/actions/is-release-in-progress-v1
    • If true, stop github action from going any further
  2. Get the commit list using .github/actions/generate-commit-list-v1
  3. Use whatever logic walnut uses to figure out if there are any migrations and/or environment variables
  4. Get the version number from package.json
  5. Open a release PR using https://github.com/dequelabs/axe-api-team-public/blob/96267efd07acf7202bfc6bf12fa0584f8a310916/.github/actions/create-release-candidate-v1/action.yml#L131C4-L146C1
    • Title: `chore(release): v(version)
    • Body:
      • Changelog of the release
      • Data Migrations: (list out the migrations)
      • Environment Variables: (list out the EVs)

Each of the public actions in https://github.com/dequelabs/axe-api-team-public should include a readme with information on how to use the action and a list all inputs and outputs.

@dequejenn dequejenn added TYPE: epic Ticket is a parent to group other tickets QA: none This ticket does not require QA signoff EPIC: release process automations TYPE: task Ticket is for non-dev work and removed TYPE: epic Ticket is a parent to group other tickets labels Nov 16, 2023
@dequejenn dequejenn added the next up Ticket is groomed for next sprint label Nov 29, 2023
@dequejenn dequejenn added TYPE: automation Work done on ci (github action, circleci, etc) and removed TYPE: task Ticket is for non-dev work labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPIC: release process automations next up Ticket is groomed for next sprint QA: none This ticket does not require QA signoff TYPE: automation Work done on ci (github action, circleci, etc)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants