A GitHub Action to automatically create an issue when a new version of PHP is released.
| Name | Description | Required | Default value |
|---|---|---|---|
| localfile | The local file containing the current PHP release. | false | .releases |
| repo-token | Token for interacting with the GitHub API. | true | ${{ github.token }} |
| owner | The account owner of the repository. The name is not case-sensitive. | true | |
| repo | The name of the repository without the .git extension. The name is not case-sensitive. | true |
on: [push]
permissions:
issues: write
jobs:
notify_new_releases:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check for new PHP releases
uses: sxbrsky/notify-php-release-action@v1
with:
repo-token: ${{ github.token }}
repo: notify-php-release-action
owner: sxbrsky
localfile: .releases
This project is licensed under the MIT License.