Skip to content

Conversation

@roryabraham
Copy link
Contributor

Details

We are getting ready to enforce:

  1. actionlint
  2. immutable action refs
  3. Valid GitHub Workflow and Action schemas

across the Expensify org. This PR prepares us for that to be turned on without disrupting development here.

Related Issues

https://github.com/Expensify/Expensify/issues/484931 (private repo)

Manual Tests

None.

Linked PRs

None.

@roryabraham roryabraham requested a review from tomekzaw October 14, 2025 22:45
@roryabraham roryabraham self-assigned this Oct 14, 2025
regex: '\s*recheck\s*'

- name: CLA Assistant
if: ${{ steps.recheck.outputs.match != '' || steps.sign.outputs.match != '' || github.event_name == 'pull_request_target' }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This condition was always evaluating to true because there were characters outside of the ${{ }}


# This workflow runs when code is pushed to `main` (i.e: when a pull request is merged)
on:
push:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I ignored differences in indentation across files because we aren't going to enforce a yaml style (yet). But 3-space indentation was too :eye_twitch: for me to handle

@roryabraham
Copy link
Contributor Author

Shit, my local branch was out of date when I created this. Merged main, should be good now

srikarparsi
srikarparsi previously approved these changes Oct 15, 2025
tomekzaw
tomekzaw previously approved these changes Oct 15, 2025
Copy link
Collaborator

@tomekzaw tomekzaw left a comment

Choose a reason for hiding this comment

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

LGTM, left one comment

Copy link
Collaborator

@tomekzaw tomekzaw left a comment

Choose a reason for hiding this comment

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

One more nitpick

Co-authored-by: Tomasz Zawadzki <tomekzawadzki98@gmail.com>
@roryabraham roryabraham merged commit ad6d8a0 into main Oct 16, 2025
7 checks passed
@roryabraham roryabraham deleted the Rory-FixGitHubActionsPractices branch October 16, 2025 21:40
@os-botify
Copy link
Contributor

os-botify bot commented Oct 16, 2025

🚀 Published to npm in 0.1.309 🎉

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.

4 participants