Expensify has multiple repositories that use the same GitHub Actions workflows. This repository centralizes and consolidates frequently used workflows to enhance security and maintain consistent standards across projects.
Used to publish a package to npmjs, should be triggered when code is merged into the main
branch.
jobs:
publish:
uses: Expensify/GitHub-Actions/.github/workflows/npmPublish.yml@main
secrets: inherit
with:
# Repository name with owner. For example, Expensify/eslint-config-expensify
# Required, String, default: ${{ github.repository }}
repository: ''
# True if we should run npm run build for the package
# Optional, Boolean, default: false
should_run_build: true
Used to check if a user has signed the Contributor License Agreement, Should be triggered when a PR is opened or updated.
jobs:
CLA:
uses: Expensify/GitHub-Actions/.github/workflows/cla.yml@main
# Required to pass along secrets for `CLA_BOTIFY_TOKEN`
secrets: inherit