Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/actions/composite/setupNode/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Set up Node

inputs:
IS_HYBRID_BUILD:
description: "Indicates if node is set up for hybrid app"
description: 'Indicates if node is set up for hybrid app'
required: false
default: 'false'

Expand Down Expand Up @@ -33,7 +33,7 @@ runs:
with:
path: node_modules
key: ${{ inputs.IS_HYBRID_BUILD == 'true' && format('{0}-node-modules-{1}', runner.os, hashFiles('package-lock.json', 'patches/**', 'Mobile-Expensify/patches/**')) || format('{0}-node-modules-{1}', runner.os, hashFiles('package-lock.json', 'patches/**'))}}

- id: cache-old-dot-node-modules
if: inputs.IS_HYBRID_BUILD == 'true'
# v5.0.1
Expand All @@ -48,9 +48,9 @@ runs:
run: rm -rf node_modules

- name: Install root project node packages
if: steps.cache-node-modules.outputs.cache-hit != 'true' || (inputs.IS_HYBRID_BUILD == 'true' && steps.cache-old-dot-node-modules.outputs.cache-hit != 'true')
if: steps.cache-node-modules.outputs.cache-hit != 'true' || (inputs.IS_HYBRID_BUILD == 'true' && steps.cache-old-dot-node-modules.outputs.cache-hit != 'true')
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4
with:
timeout_minutes: 30
max_attempts: 3
command: npm ci
command: npm ci
14 changes: 7 additions & 7 deletions .github/actions/javascript/bumpVersion/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Bump npm version
description: Increase the application version (JS and native), based on git tags
inputs:
SEMVER_LEVEL:
description: Semantic Versioning Level
required: true
SEMVER_LEVEL:
description: Semantic Versioning Level
required: true
outputs:
NEW_VERSION:
description: The new semver version of the application, updated in the JS and native layers.
NEW_VERSION:
description: The new semver version of the application, updated in the JS and native layers.
runs:
using: node24
main: ./index.js
using: node24
main: ./index.js
34 changes: 17 additions & 17 deletions .github/actions/javascript/checkAndroidStatus/action.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: 'Check Android Status'
description: 'Checks the status of the Android track and calculates the rollout percentage.'
inputs:
GITHUB_TOKEN:
description: Auth token for New Expensify Github
required: true
GOOGLE_KEY_FILE:
description: Authentication file for Google Cloud API
required: true
PACKAGE_NAME:
description: Package name to check the status of
required: true
GITHUB_TOKEN:
description: Auth token for New Expensify Github
required: true
GOOGLE_KEY_FILE:
description: Authentication file for Google Cloud API
required: true
PACKAGE_NAME:
description: Package name to check the status of
required: true
outputs:
HALTED:
description: True if the app is halted, false otherwise
COMPLETED:
description: True if the app is completed a rollout, false otherwise
ROLLOUT_PERCENTAGE:
description: The calculated rollout percentage
HALTED:
description: True if the app is halted, false otherwise
COMPLETED:
description: True if the app is completed a rollout, false otherwise
ROLLOUT_PERCENTAGE:
description: The calculated rollout percentage
runs:
using: 'node24'
main: './index.js'
using: 'node24'
main: './index.js'
15 changes: 7 additions & 8 deletions .github/actions/javascript/formatCodeCovComment/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: "Format CodeCov Comment"
description: "Reformats CodeCov PR comments to display only relevant information"
name: 'Format CodeCov Comment'
description: 'Reformats CodeCov PR comments to display only relevant information'
inputs:
GITHUB_TOKEN:
description: "Github token for authentication"
required: true
GITHUB_TOKEN:
description: 'Github token for authentication'
required: true
runs:
using: "node24"
main: "./index.js"

using: 'node24'
main: './index.js'
20 changes: 10 additions & 10 deletions .github/actions/javascript/getAndroidRolloutPercentage/action.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: 'Get Android Rollout percentage'
description: 'Gets the current Android track rollout percentage.'
inputs:
GOOGLE_KEY_FILE:
description: Authentication file for Google Cloud API
required: true
PACKAGE_NAME:
description: Package name to check the status of
required: true
GOOGLE_KEY_FILE:
description: Authentication file for Google Cloud API
required: true
PACKAGE_NAME:
description: Package name to check the status of
required: true
outputs:
CURRENT_ROLLOUT_PERCENTAGE:
description: 'The current rollout percentage of the track'
CURRENT_ROLLOUT_PERCENTAGE:
description: 'The current rollout percentage of the track'
runs:
using: 'node24'
main: './index.js'
using: 'node24'
main: './index.js'
4 changes: 2 additions & 2 deletions .github/actions/javascript/getArtifactInfo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ outputs:
description: The ID of the workflow that produced the artifact

runs:
using: "node24"
main: "index.js"
using: 'node24'
main: 'index.js'
30 changes: 15 additions & 15 deletions .github/actions/javascript/getDeployPullRequestList/action.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: 'Get Release Pull Request List'
description: 'Gather all the PRs being deployed for given release tag.'
inputs:
TAG:
description: Git tag
required: true
GITHUB_TOKEN:
description: "Github token for authentication"
required: true
IS_PRODUCTION_DEPLOY:
description: "True if we are deploying to production"
required: false
TAG:
description: Git tag
required: true
GITHUB_TOKEN:
description: 'Github token for authentication'
required: true
IS_PRODUCTION_DEPLOY:
description: 'True if we are deploying to production'
required: false
outputs:
PR_LIST:
description: Array of pull request numbers
MOBILE_EXPENSIFY_PR_LIST:
description: Array of Mobile-Expensify pull request numbers
PR_LIST:
description: Array of pull request numbers
MOBILE_EXPENSIFY_PR_LIST:
description: Array of Mobile-Expensify pull request numbers
runs:
using: 'node24'
main: './index.js'
using: 'node24'
main: './index.js'
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: 'Check Pull Request Incremental Changes'
description: |
Detects actual file changes in PR opened or synchronize events, ignoring false positives from merge commits.

This action is specifically designed for pull_request synchronize events where you need to distinguish
between actual changes pushed to the PR versus changes that came from merging the base branch.

For simple file change detection in PRs, use `gh pr diff <pr_number>` instead.

inputs:
Expand Down
44 changes: 22 additions & 22 deletions .github/actions/javascript/isAuthorizedContributor/action.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: 'Is Authorized Contributor'
description: 'Checks whether a PR author is authorized to contribute (org member, Contributor+, or linked issue)'
inputs:
PR_NUMBER:
description: Pull request number
required: true
ACTOR:
description: Login of the user to authorize (PR author, comment author, etc.)
required: true
ACTOR_ASSOCIATION:
description: "Actor's association with the repository (MEMBER, OWNER, CONTRIBUTOR, etc.)"
required: true
GITHUB_TOKEN:
description: Auth token for repository API calls
required: true
default: ${{ github.token }}
OS_BOTIFY_TOKEN:
description: OSBotify token for org team membership (read:org)
required: true
PR_NUMBER:
description: Pull request number
required: true
ACTOR:
description: Login of the user to authorize (PR author, comment author, etc.)
required: true
ACTOR_ASSOCIATION:
description: "Actor's association with the repository (MEMBER, OWNER, CONTRIBUTOR, etc.)"
required: true
GITHUB_TOKEN:
description: Auth token for repository API calls
required: true
default: ${{ github.token }}
OS_BOTIFY_TOKEN:
description: OSBotify token for org team membership (read:org)
required: true
outputs:
IS_AUTHORIZED:
description: "'true' if the contributor is authorized, 'false' otherwise"
IS_INTERNAL:
description: "'true' if the actor is an internal Expensify engineer (engineering org team member), 'false' otherwise"
IS_AUTHORIZED:
description: "'true' if the contributor is authorized, 'false' otherwise"
IS_INTERNAL:
description: "'true' if the actor is an internal Expensify engineer (engineering org team member), 'false' otherwise"
runs:
using: 'node24'
main: './index.js'
using: 'node24'
main: './index.js'
18 changes: 9 additions & 9 deletions .github/actions/javascript/isDeployChecklistLocked/action.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: 'Check if the deploy checklist is locked'
description: 'Checks if the open deploy checklist issue has the LockCashDeploys label'
inputs:
GITHUB_TOKEN:
description: Auth token for New Expensify Github
required: true
GITHUB_TOKEN:
description: Auth token for New Expensify Github
required: true
outputs:
IS_LOCKED:
description: Whether or not the open deploy checklist issue is locked.
NUMBER:
description: Deploy checklist issue number
IS_LOCKED:
description: Whether or not the open deploy checklist issue is locked.
NUMBER:
description: Deploy checklist issue number
runs:
using: 'node24'
main: 'index.js'
using: 'node24'
main: 'index.js'
82 changes: 41 additions & 41 deletions .github/actions/javascript/markPullRequestsAsDeployed/action.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
name: "Mark Pull Requests as Deployed"
description: "Mark pull requests as deployed on production or staging"
name: 'Mark Pull Requests as Deployed'
description: 'Mark pull requests as deployed on production or staging'
inputs:
PR_LIST:
description: "Array of pull request numbers"
required: true
MOBILE_EXPENSIFY_PR_LIST:
description: "Array of Mobile-Expensify pull request numbers"
required: false
IS_PRODUCTION_DEPLOY:
description: "Check if deploying to production"
required: false
default: "false"
DEPLOY_VERSION:
description: "The app version in which the pull requests were deployed"
required: true
GITHUB_TOKEN:
description: "Github token for authentication"
required: true
ANDROID:
description: "Android job result ('success', 'failure', 'cancelled', or 'skipped')"
required: true
IOS:
description: "iOS job result ('success', 'failure', 'cancelled', or 'skipped')"
required: true
WEB:
description: "Web job result ('success', 'failure', 'cancelled', or 'skipped')"
required: true
DATE:
description: "The date of deployment"
required: false
NOTE:
description: "Additional note from the deployer"
required: false
ANDROID_SENTRY_URL:
description: "URL to Sentry size analysis for Android"
required: false
IOS_SENTRY_URL:
description: "URL to Sentry size analysis for iOS"
required: false
PR_LIST:
description: 'Array of pull request numbers'
required: true
MOBILE_EXPENSIFY_PR_LIST:
description: 'Array of Mobile-Expensify pull request numbers'
required: false
IS_PRODUCTION_DEPLOY:
description: 'Check if deploying to production'
required: false
default: 'false'
DEPLOY_VERSION:
description: 'The app version in which the pull requests were deployed'
required: true
GITHUB_TOKEN:
description: 'Github token for authentication'
required: true
ANDROID:
description: "Android job result ('success', 'failure', 'cancelled', or 'skipped')"
required: true
IOS:
description: "iOS job result ('success', 'failure', 'cancelled', or 'skipped')"
required: true
WEB:
description: "Web job result ('success', 'failure', 'cancelled', or 'skipped')"
required: true
DATE:
description: 'The date of deployment'
required: false
NOTE:
description: 'Additional note from the deployer'
required: false
ANDROID_SENTRY_URL:
description: 'URL to Sentry size analysis for Android'
required: false
IOS_SENTRY_URL:
description: 'URL to Sentry size analysis for iOS'
required: false
runs:
using: "node24"
main: "./index.js"
using: 'node24'
main: './index.js'
Loading
Loading