Update release workflow to use global github action#96
Conversation
…ow can't validate and fails. #92
There was a problem hiding this comment.
Pull request overview
Updates this WordPress plugin repository’s release automation to use UCSC’s shared GitHub Actions reusable workflow, while also introducing Composer package metadata and updating Composer dev-tool dependencies.
Changes:
- Migrates
.github/workflows/release.ymlto callucsc/actions/.github/workflows/release.yml@v1for build + GitHub Release creation. - Adds basic package metadata to
composer.json(name/description/license). - Updates PHPCS/WPCS-related dev dependencies in
composer.lock.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/release.yml |
Switches to UCSC shared reusable release workflow and passes build/zip parameters. |
composer.json |
Adds Composer package metadata (name/description/license). |
composer.lock |
Updates locked versions for PHPCS/WPCS toolchain dev dependencies. |
| { | ||
| "name": "ucsc/giving-functionality", | ||
| "description": "Adds custom functionality to UCSC Giving Website.", | ||
| "license": "GPL-3.0-or-later", | ||
| "require-dev": { | ||
| "dealerdirect/phpcodesniffer-composer-installer": "^1.0", | ||
| "wp-coding-standards/wpcs": "^3.1" |
There was a problem hiding this comment.
@copilot apply changes based on this feedback
There was a problem hiding this comment.
Implemented in ae7cbe6: updated package.json license from ISC to GPL-3.0-or-later so license metadata is now aligned with composer.json and the plugin’s GPL licensing.
| # Caller workflow — drop this into each consuming repo at: | ||
| # .github/workflows/release.yml | ||
| # | ||
| # Update the `uses` path to match your shared-workflows repo and tag. | ||
| # Update `zip-name` to match the package name in that repo's package.json. | ||
|
|
There was a problem hiding this comment.
@copilot apply changes based on this feedback
Agent-Logs-Url: https://github.com/ucsc/ucsc-giving-functionality/sessions/ad08e433-8cbc-4d02-8057-9afa9edd38a5 Co-authored-by: Herm71 <1000543+Herm71@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Updates the release workflow to utilize UCSC's Github actions workflow. Fixes #92