Skip to content

Validate GitHub actions in any repo#35

Merged
rafecolton merged 1 commit intomainfrom
Rory-ValidateGitHubActionsAnyRepo
May 7, 2025
Merged

Validate GitHub actions in any repo#35
rafecolton merged 1 commit intomainfrom
Rory-ValidateGitHubActionsAnyRepo

Conversation

@roryabraham
Copy link
Contributor

@roryabraham roryabraham commented Apr 15, 2025

Details

This updates this workflow so that it can be run from other repos (enabled by a org-level ruleset). This has been tested here: Expensify/App#61538

I am aware of an issue where this will not work to check for immutable actions in private repos for now.

Related Issues

related to https://github.com/Expensify/Expensify/issues/484931

Manual Tests

tested in Expensify/App#61538

Linked PRs

n/a

@roryabraham roryabraham self-assigned this Apr 15, 2025
@roryabraham roryabraham force-pushed the Rory-ValidateGitHubActionsAnyRepo branch from 0c7be80 to 863677e Compare May 7, 2025 01:11
Copy link
Member

@rafecolton rafecolton left a comment

Choose a reason for hiding this comment

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

LGTM, reviewed live with Rory. Tests are failing because it's referencing an action in main but I observed it working right before we removed that ref to the current branch.

@roryabraham roryabraham changed the title [WIP] Validate GitHub actions in any repo Validate GitHub actions in any repo May 7, 2025
@roryabraham roryabraham marked this pull request as ready for review May 7, 2025 01:22
@rafecolton rafecolton merged commit 0c7af3c into main May 7, 2025
2 of 5 checks passed
@rafecolton rafecolton deleted the Rory-ValidateGitHubActionsAnyRepo branch May 7, 2025 01:23
@melvin-bot melvin-bot bot added the Emergency label May 7, 2025
@melvin-bot
Copy link

melvin-bot bot commented May 7, 2025

@rafecolton looks like this was merged without a test passing. Please add a note explaining why this was done and remove the Emergency label if this is not an emergency.

@rafecolton
Copy link
Member

Not actually an emergency, had to merge this with failing checks due to a chicken/egg problem describe above

@rafecolton rafecolton restored the Rory-ValidateGitHubActionsAnyRepo branch May 7, 2025 01:28
@rafecolton rafecolton deleted the Rory-ValidateGitHubActionsAnyRepo branch May 7, 2025 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants