Author: Shivam Mathur (shivammathur)
Date: 2025-09-24T21:00:32+05:30
Commit:
https://github.com/php/web-downloads/commit/9b18d12cf34e67f737de4ecf2c1e0953259e68f8
Raw diff:
https://github.com/php/web-downloads/commit/9b18d12cf34e67f737de4ecf2c1e0953259e68f8.diff
Add series-init workflow
Changed paths:
A .github/workflows/series-init.yml
Diff:
diff --git a/.github/workflows/series-init.yml
b/.github/workflows/series-init.yml
new file mode 100644
index 0000000..371216a
--- /dev/null
+++ b/.github/workflows/series-init.yml
@@ -0,0 +1,26 @@
+name: Create series files for new PHP version
+run-name: Series init ${{ inputs.php_version }}
+on:
+ workflow_dispatch:
+ inputs:
+ php_version:
+ description: 'PHP Version'
+ required: true
+ source_vs:
+ description: 'Source VS Version'
+ required: true
+ target_vs:
+ description: 'Target VS Version'
+ required: true
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ environment: downloads.php.net
+ steps:
+ - name: Run
+ run: |
+ curl \
+ --request POST \
+ --location https://downloads.php.net/api/series-init \
+ --header 'Authorization: Bearer ${{ secrets.AUTH_TOKEN }}' \
+ --data '{ "php_version": "${{ inputs.php_version }}", "source_vs":
"${{ inputs.source_vs }}", "target_vs": "${{ inputs.target_vs }}" }'