Skip to content

Conversation

@josh-wong
Copy link
Owner

Description

This PR fixes issue #102 where the test deployment workflow was not running properly in pull requests.

Related issues and/or PRs

Changes made

  • Removed trigger: The trigger was causing the test deployment workflow to run on the main branch instead of the PR branch, and it wasn't showing up in the PR checks.

  • Added proper concurrency configuration: Added a concurrency group specific to this workflow to prevent conflicts while allowing it to run alongside the PR checklist checker.

  • Updated path exclusions: Changed from excluding all files to more specific exclusions, allowing workflow changes to trigger tests when appropriate.

Technical details

The root cause was the trigger which:

  1. Runs in the context of the target branch (main) instead of the PR branch
  2. Doesn't appear in the PR checks interface
  3. Doesn't have access to the PR context

By removing this trigger and relying on the standard trigger with proper concurrency configuration, the workflow will now:

  1. Run on the correct branch (PR branch)
  2. Show up in the PR checks interface
  3. Work alongside the PR checklist checker without conflicts

Checklist

The following is a best-effort checklist. If any items in this checklist aren't applicable to this PR, add N/A after each item.

Documentation

  • I have updated the side navigation as necessary. N/A
  • I have updated the documentation to reflect the changes. N/A
  • I have documented or updated any remaining open issues linked to this PR in GitHub, Obsidian, etc.

Build, deploy, and test

  • I have merged and published any dependent changes in other PRs.
  • I have commented my code, particularly in hard-to-understand areas. N/A
  • I have checked that my changes look as expected on a locally built version of the docs site. N/A
  • My changes generate no new warnings.

@github-actions
Copy link
Contributor

All items in the checklist have been checked🎉

- Remove workflow_run trigger that caused workflow to run on main branch instead of PR branch
- Add proper concurrency configuration to prevent conflicts with other workflows
- Update paths-ignore to be more specific and allow workflow changes to trigger tests
- Fixes #102
@josh-wong josh-wong force-pushed the fix-test-deployment-workflow-102 branch from fedb4d2 to adb4c2b Compare June 30, 2025 02:05
@github-actions
Copy link
Contributor

All items in the checklist have been checked🎉

@josh-wong josh-wong self-assigned this Jun 30, 2025
@josh-wong josh-wong added the bugfix Bug is fixed label Jun 30, 2025
@josh-wong josh-wong linked an issue Jun 30, 2025 that may be closed by this pull request
@josh-wong josh-wong merged commit 92b5b1b into main Jun 30, 2025
3 checks passed
@josh-wong josh-wong deleted the fix-test-deployment-workflow-102 branch June 30, 2025 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Bug is fixed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test deployment workflow no longer runs in PRs

2 participants