Skip to content

[ci] Fix GitHub Actions workflow caching and auto-assign/label-sync configuration (#36)#35

Merged
coisa merged 17 commits intomainfrom
github-actions
Apr 11, 2026
Merged

[ci] Fix GitHub Actions workflow caching and auto-assign/label-sync configuration (#36)#35
coisa merged 17 commits intomainfrom
github-actions

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 11, 2026

Summary

Fixes GitHub Actions workflow configuration issues by standardizing composer cache paths, adding explicit command parameters, and introducing auto-assign and label-sync workflows.

Changes

  • Replace dynamic composer cache directory (composer config cache-files-dir) with fixed /tmp/composer-cache
  • Change cache keys from composer.json to composer.lock for reliable invalidation
  • Add explicit COMPOSER_CACHE_DIR environment variable to composer action
  • Add explicit command and args to php-actions/composer actions
  • Add new auto-assign workflow using toshimaru/auto-author-assign
  • Add reusable workflow in resources/github-actions/auto-assign.yml
  • Add new label-sync workflow that copies issue labels to PRs
  • Add reusable workflow in resources/github-actions/label-sync.yml

Testing

  • Verified all workflows maintain correct structure
  • Composer cache now uses consistent paths across all jobs
  • Auto-assign workflow properly configured for PRs and issues
  • Label-sync copies labels from linked issue to PR (e.g., Closes #36)

Closes #36

… wiki workflows

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
@coisa coisa self-assigned this Apr 11, 2026
@coisa coisa added the bug Something isn't working label Apr 11, 2026
coisa added 3 commits April 11, 2026 15:53
…ts, and wiki workflows

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
…ports, tests, and wiki workflows

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
…ion in tests and wiki workflows

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
@coisa coisa removed their assignment Apr 11, 2026
coisa added 3 commits April 11, 2026 16:14
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
…er for auto-assign

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
@coisa coisa changed the title Fix GitHub Actions [ci] Fix GitHub Actions workflow caching and auto-assign configuration (#36) Apr 11, 2026
@coisa coisa self-assigned this Apr 11, 2026
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
@coisa coisa removed the bug Something isn't working label Apr 11, 2026
Comment thread .github/workflows/label-sync.yml Fixed
Comment thread .github/workflows/label-sync.yml Fixed
coisa and others added 2 commits April 11, 2026 16:42
…orkflow calls

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Comment thread .github/workflows/label-sync.yml Fixed
coisa and others added 5 commits April 11, 2026 16:45
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
…bel synchronization workflow

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
…el synchronization workflow

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
@github-actions github-actions Bot added the bug Something isn't working label Apr 11, 2026
@coisa coisa changed the title [ci] Fix GitHub Actions workflow caching and auto-assign configuration (#36) [ci] Fix GitHub Actions workflow caching and auto-assign/label-sync configuration (#36) Apr 11, 2026
@coisa coisa merged commit e84fb9b into main Apr 11, 2026
6 checks passed
@coisa coisa deleted the github-actions branch April 11, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Released

Development

Successfully merging this pull request may close these issues.

Fix GitHub Actions workflow caching and auto-assign configuration

2 participants