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

Add: workflow to close issues on release #3208

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

nichwall
Copy link
Contributor

@nichwall nichwall commented Jul 30, 2024

This PR adds a workflow to automatically do the following to issues with a label of awaiting release whenever a release is published:

  • Comment that it has been fixed with the current version number
  • Close issue (if open)
  • Remove awaiting release label

This workflow requires write permissions for issues, which is included in the workflow. The maintainer of the action I am using has not made a new release of the action since merging my PR to it, so I have just pinned the current SHA (not sure when they will get around to that).

I did not see any issues currently labeled as awaiting release that need to have the label removed before this workflow is ran. I tested this workflow in a personal repository and it worked well, but you may need to grant the workflow write permissions so it can access the write permissions on the issues (not 100% sure on the scoping there).

@advplyr
Copy link
Owner

advplyr commented Jul 31, 2024

This is great, thanks! It looks like the default workflow permissions should be good.

image

@advplyr advplyr merged commit 816a9be into advplyr:master Jul 31, 2024
4 checks passed
@nichwall nichwall deleted the release_issue_workflow branch July 31, 2024 21:09
@nichwall
Copy link
Contributor Author

Thanks! I'll hold off on making the same workflow for the app repository to make sure it works here (assume there will be a server release before the next app release)

@advplyr
Copy link
Owner

advplyr commented Jul 31, 2024

Yeah server release first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants