Skip to content

Commit

Permalink
Add workflow "Mark Pull Request as Ready To Merge"
Browse files Browse the repository at this point in the history
  • Loading branch information
ihostage committed Apr 19, 2022
1 parent 1b7f96a commit d9f71d4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Mark Pull Request as Ready To Merge

on:
workflow_call:

jobs:
cmd:
name: Ready To Merge
runs-on: ubuntu-20.04
steps:
- name: Ready To Merge
run: echo 'Ready To Merge'
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This repository contains a few configurations of GitHub features. For example a
* [Java/Scala matrix SBT task](#javascala-matrix-sbt-task)
* [Publishing to Sonatype](#publishing-to-sonatype)
* [Validate Binary Compatibility](#validate-binary-compatibility)
* [Mark Pull Request as Ready To Merge](#mark-pull-request-as-ready-to-merge)

### Single SBT task

Expand Down Expand Up @@ -151,6 +152,29 @@ This workflow is used for validate binary compatibility the current version.
uses: playframework/.github/.github/workflows/binary-check.yml@v1
```

### Mark Pull Request as Ready To Merge

This workflow is used for mark pull request as ready to merge and **should be last** in the workflows chain.

:warning: For using this workflow don't forget to configure the `needs` ([GA docs](https://docs.github.com/en/actions/using-workflows/advanced-workflow-features#creating-dependent-jobs)) attribute to make this workflow run last.

**Path**: [`.github/workflows/rtm.yml`](.github/workflows/rtm.yml)

**Image**: [Ubuntu 20.04](https://hub.docker.com/layers/ubuntu/library/ubuntu/20.04/images/sha256-57df66b9fc9ce2947e434b4aa02dbe16f6685e20db0c170917d4a1962a5fe6a9?context=explore)


**No Parameters**

**How to use**:

```yaml
needs: # Should be latest
- "check-code-style"
- "..."
- "tests"
uses: playframework/.github/.github/workflows/rtm.yml@v1
```

## GitHub Actions Starter workflows

TODO

0 comments on commit d9f71d4

Please sign in to comment.