-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from gsmet/add-release-prepare
Add release-prepare step
- Loading branch information
Showing
3 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
src/main/java/io/quarkus/bot/release/step/CoreReleasePerform.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package io.quarkus.bot.release.step; | ||
|
||
import java.io.IOException; | ||
|
||
import jakarta.inject.Singleton; | ||
|
||
import org.kohsuke.github.GHIssue; | ||
|
||
import io.quarkiverse.githubaction.Commands; | ||
import io.quarkiverse.githubaction.Context; | ||
import io.quarkus.arc.Unremovable; | ||
import io.quarkus.bot.release.ReleaseInformation; | ||
import io.quarkus.bot.release.util.UpdatedIssueBody; | ||
|
||
@Singleton | ||
@Unremovable | ||
public class CoreReleasePerform implements StepHandler { | ||
|
||
@Override | ||
public int run(Context context, Commands commands, ReleaseInformation releaseInformation, GHIssue issue, | ||
UpdatedIssueBody updatedIssueBody) throws IOException, InterruptedException { | ||
throw new IllegalStateException("Testing error handling..."); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters