-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (35 loc) · 1.28 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Notify PHP Releases
description: A GitHub Action to automatically creates an issue when a new version of PHP is released.
author: Dominik Szamburski
branding:
icon: package
color: blue
inputs:
localfile:
required: false
default: .releases
description: The local file containing current php release.
repo-token:
required: true
description: Token for interacting with the Github API. Default to using the special GITHUB_TOKEN. Because of limitations imposed by GitHub, this must be set if you want the setting of the PR label to trigger an event.
default: ${{ github.token }}
owner:
required: true
description: The account owner of the repository. The name is not case sensitive.
repo:
required: true
description: The name of the repository without the .git extension. The name is not case sensitive.
runs:
using: composite
steps:
- uses: actions/checkout@v4
- uses: sxbrsky/latest-php-releases-action@1.0.0
id: latest-releases
- run: node ${{ github.action_path }}/dist/index.js
shell: bash
env:
RELEASES: ${{ steps.latest-releases.outputs.releases }}
LOCALFILE: ${{ inputs.localfile }}
OWNER: ${{ inputs.owner }}
REPO: ${{ inputs.repo }}
REPO_TOKEN: ${{ inputs.repo-token }}