Azure / Azure/azure-rest-api-specs
[.github/workflows] Add custom action `add-issue-number` to validate and add artifact
Nobody has claimed this yet.
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 6k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
https://github.com/search?q=repo%3AAzure%2Fazure-rest-api-specs+issue-number+language%3AYAML&type=code&l=YAML
We should refactor this into common code that, for example, throws if the issueNumber is < 0, or not-a-number.
WIP: https://github.com/Azure/azure-rest-api-specs/pull/36306
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the YAML workflow search results linked in the issue and review the WIP pull request #36306 to understand the current custom action and proposed common code. Done means the action validates issueNumber, including rejecting values below 0 and non-numeric values, without leaving this work duplicated across workflows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd, tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100