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 deploy-release public action #90

Closed
dequejenn opened this issue Nov 16, 2023 · 1 comment · Fixed by #157 or #158
Closed

Create deploy-release public action #90

dequejenn opened this issue Nov 16, 2023 · 1 comment · Fixed by #157 or #158
Assignees
Labels
EPIC: release process automations in sprint Ticket is in current sprint QA: none This ticket does not require QA signoff TYPE: task Ticket is for non-dev work

Comments

@dequejenn
Copy link

dequejenn commented Nov 16, 2023

Overview

Repo: https://github.com/dequelabs/axe-api-team-public
GHA Name: deploy-release
Purpose: To make sure everything finishes up automatically when a deployment has been completed
Usage: This GHA will be called from each repo when teh release pr is merged into master/main

Inputs:
From repo:

  • None

Outputs:

  • None

Details

This composite action should

  1. Get the version number from package.json
  2. Get the commits using .github/actions/generate-commit-list-v1
  3. Run through and label all issues closed in this release using .github/actions/label-and-move-released-issues-v1 (this should create a label with the version number if it doesn't already exist, label any issue closed in this version, and automatically move any issues into the released column if it was dev done or done)
  4. Sync the master/main branch back into develop
    Some of the repos already have this which can just be added into this so it is in a single place in case we need to make changes in the future
jobs:
  create_sync_pull_request:
    runs-on: ubuntu-latest
    steps:
      - uses: dequelabs/action-sync-branches@v1
        with:
          github-token: ${{ secrets.PAT }}
          pr-title: 'chore: merge master into develop'
          pr-body: 'Remember to _merge_ (rather than squash) this PR! Also, auto-merge does not work because many of the required checks do not run on the "master" branch.'
          pr-team-reviewers: axe-api-team
          head: master

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: task Ticket is for non-dev work QA: none This ticket does not require QA signoff EPIC: release process automations labels Nov 16, 2023
@straker
Copy link
Contributor

straker commented Nov 17, 2023

Blocked by #91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPIC: release process automations in sprint Ticket is in current sprint QA: none This ticket does not require QA signoff TYPE: task Ticket is for non-dev work
Projects
None yet
4 participants