Skip to content

Update release workflow to use global github action#96

Merged
Herm71 merged 8 commits into
mainfrom
Herm71/issue92
May 11, 2026
Merged

Update release workflow to use global github action#96
Herm71 merged 8 commits into
mainfrom
Herm71/issue92

Conversation

@Herm71
Copy link
Copy Markdown
Member

@Herm71 Herm71 commented May 11, 2026

Updates the release workflow to utilize UCSC's Github actions workflow. Fixes #92

@Herm71 Herm71 requested a review from Copilot May 11, 2026 19:09
@Herm71 Herm71 self-assigned this May 11, 2026
@Herm71 Herm71 added the change Change to an existing but not broken feature label May 11, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml to call ucsc/actions/.github/workflows/release.yml@v1 for 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.

Comment thread composer.json
Comment on lines 1 to 7
{
"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"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines +1 to +6
# 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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor

Copilot AI commented May 11, 2026

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:

  • https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/b598aa890815b8df16363271b659d73280129101
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/fS1SOH /usr/bin/composer install (http block)
  • https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/c216317e96c8b3f5932808f9b0f1f7a14e3bbf55
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/fS1SOH /usr/bin/composer install (http block)
  • https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0ca86845ce43291e8f5692c7356fccf3bcf02bf4
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/fS1SOH /usr/bin/composer install (http block)
  • https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/963f0c67bffde0eac41b56be71ac0e8ba132f0bd
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/fS1SOH /usr/bin/composer install (http block)
  • https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7795ec6fa05663d716a549d0b44e47ffc8b0d4a6
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/fS1SOH /usr/bin/composer install (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change Change to an existing but not broken feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update release workflow

3 participants