Skip to content

Commit

Permalink
Merge pull request #43 from ihostage/rtm-only-pr
Browse files Browse the repository at this point in the history
`Ready To Merge` should use to Pull Requests only
  • Loading branch information
mkurz authored Oct 7, 2022
2 parents fdbb36b + 76f0e4c commit 7406350
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rtm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
cmd:
name: Ready To Merge
if: github.event_name == 'pull_request'
runs-on: ubuntu-20.04
steps:
- name: Ready To Merge
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Every matrix dimension will be access by environment variable like `MATRIX_$(upp

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

**Image**: [Ubuntu 20.04](https://hub.docker.com/layers/ubuntu/library/ubuntu/20.04/images/sha256-57df66b9fc9ce2947e434b4aa02dbe16f6685e20db0c170917d4a1962a5fe6a9?context=explore)
**Image**: [Ubuntu 20.04](https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md)

**Uses actions**:
* [Coursier/Setup Action](https://github.com/coursier/setup-action)
Expand All @@ -58,7 +58,7 @@ Every matrix dimension will be access by environment variable like `MATRIX_$(upp
**How to use**:

```yaml
uses: playframework/.github/.github/workflows/cmd.yml@v2
uses: playframework/.github/.github/workflows/cmd.yml@v3
with:
java: 17, 11
scala: 2.12.17, 2.13.9, 3.2.0
Expand All @@ -79,7 +79,7 @@ This workflow is used for publishing snapshots artifacts to [Sonatype Snapshots]
**Path**: [`.github/workflows/publish.yml`](.github/workflows/publish.yml)

**Image**: [Ubuntu 20.04](https://hub.docker.com/layers/ubuntu/library/ubuntu/20.04/images/sha256-57df66b9fc9ce2947e434b4aa02dbe16f6685e20db0c170917d4a1962a5fe6a9?context=explore)
**Image**: [Ubuntu 20.04](https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md)

**Uses actions**:
* [Coursier/Setup Action](https://github.com/coursier/setup-action)
Expand All @@ -95,7 +95,7 @@ This workflow is used for publishing snapshots artifacts to [Sonatype Snapshots]
**How to use**:

```yaml
uses: playframework/.github/.github/workflows/publish.yml@v2
uses: playframework/.github/.github/workflows/publish.yml@v3
```

### Validate Binary Compatibility
Expand All @@ -106,7 +106,7 @@ This workflow is used for validate binary compatibility the current version.

**Path**: [`.github/workflows/binary-check.yml`](.github/workflows/binary-check.yml)

**Image**: [Ubuntu 20.04](https://hub.docker.com/layers/ubuntu/library/ubuntu/20.04/images/sha256-57df66b9fc9ce2947e434b4aa02dbe16f6685e20db0c170917d4a1962a5fe6a9?context=explore)
**Image**: [Ubuntu 20.04](https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md)

**Uses actions**:
* [Coursier/Setup Action](https://github.com/coursier/setup-action)
Expand All @@ -123,7 +123,7 @@ This workflow is used for validate binary compatibility the current version.
**How to use**:

```yaml
uses: playframework/.github/.github/workflows/binary-check.yml@v2
uses: playframework/.github/.github/workflows/binary-check.yml@v3
```

### Mark Pull Request as Ready To Merge
Expand All @@ -134,7 +134,7 @@ This workflow is used for mark pull request as ready to merge and **should be la

**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)
**Image**: [Ubuntu 20.04](https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md)


**No Parameters**
Expand All @@ -146,7 +146,7 @@ needs: # Should be latest
- "check-code-style"
- "..."
- "tests"
uses: playframework/.github/.github/workflows/rtm.yml@v2
uses: playframework/.github/.github/workflows/rtm.yml@v3
```

### Generate documentation with Antora
Expand All @@ -155,7 +155,7 @@ This workflow is used for generate and optionally publish documentation with [An

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

**Image**: [Ubuntu 20.04](https://hub.docker.com/layers/ubuntu/library/ubuntu/20.04/images/sha256-57df66b9fc9ce2947e434b4aa02dbe16f6685e20db0c170917d4a1962a5fe6a9?context=explore)
**Image**: [Ubuntu 20.04](https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md)

**Uses actions**:
* [Setup Node](https://github.com/actions/setup-node)
Expand Down

0 comments on commit 7406350

Please sign in to comment.