dequelabs / axe-api-team-public

Shared configuration, settings, and actions for the Axe API Team

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make GHA pull latest version

dequejenn opened this issue · comments

We need to be able to pull the latest version of a release to use in things like #61 and #62 . Unsure best way - parse from title? Use latest tag (if all repos use tags)? Read from the latest output of prepare_release.sh?

Scope change per Steve (11/21) which sounds just like #82

  1. We don't need to get the version number. At any point we would call this we can just look at the version of package.json in the current repo
  2. For the docs repo there can be multiple open issues labeled release, either for different repos or even the same repo if multiple versions were released in quick succession and the docs for the prior one haven't been written yet. We'll need to filter all the open release issues by the name of the github repo and also by the current version. Allow supplying version number to input but default to current version from package.json
  3. We'll need to allow the action to get issues from other repos (namely the docs repo). Add input for repo (default to current context repo)
  4. Rename action to get-release-issue

Closing because this scope was for get-version-number which is no longer needed. Only #82 is needed.