Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.43 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.43 KB

Notify PHP Release Action

A GitHub Action to automatically create an issue when a new version of PHP is released.

Inputs

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

Example usage

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

License

This project is licensed under the MIT License.