Skip to content

[No QA] Fix GitHub actions practices#733

Merged
roryabraham merged 6 commits into
mainfrom
Rory-FixGitHubActionsPractices
Oct 16, 2025
Merged

[No QA] Fix GitHub actions practices#733
roryabraham merged 6 commits into
mainfrom
Rory-FixGitHubActionsPractices

Conversation

@roryabraham

Copy link
Copy Markdown
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
Comment thread .github/workflows/cla.yml Outdated
regex: '\s*recheck\s*'

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

@tomekzaw tomekzaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, left one comment

Comment thread .github/workflows/lint.yml Outdated

@tomekzaw tomekzaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

One more nitpick

Comment thread .github/workflows/lint.yml Outdated
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

os-botify Bot commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

🚀 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.

3 participants