-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:Expensify/App into perf/search-rout…
…er-list-only-get-participants-when-needed-2
- Loading branch information
Showing
1,696 changed files
with
53,164 additions
and
28,593 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Add or remove expert contributor from the team | ||
about: In order to get access to the HybridApp setup, expert contributors need to be added to our Github Organization. They also need to be added to the necessary rooms in Slack | ||
title: "Expert Contributor Change Request - <insert-name>" | ||
labels: Daily, Task, ring0 | ||
--- | ||
|
||
### Expert Contributor Details | ||
|
||
- Name: | ||
- Github handle (or Github profile link): | ||
- Email: | ||
- Slack post in your team channel with this request for visibility: | ||
- Team (check your team): | ||
- [ ] Callstack | ||
- [ ] Margelo | ||
- [ ] Software Mansion | ||
|
||
Do you want to remove this developer from the team? YES/NO | ||
|
||
### Tasks for ring0 assignee | ||
|
||
- [ ] Add to the appropriate GitHub child team of [external-expert-contributors](https://github.com/orgs/Expensify/teams/external-expert-contributors/teams) (each agency must have its own child team) | ||
- [ ] Add to Slack channels using Slack Connect: | ||
- [ ] [#quality](https://expensify.enterprise.slack.com/archives/C05LX9D6E07) | ||
- [ ] [#convert](https://expensify.enterprise.slack.com/archives/C07HPDRELLD) | ||
- [ ] [#retain](https://expensify.enterprise.slack.com/archives/C07NZ8B1VTQ) | ||
- [ ] [#migrate](https://expensify.enterprise.slack.com/archives/C07NMDKEFMH) | ||
- [ ] [#expense](https://expensify.enterprise.slack.com/archives/C06ML6X0W9L) | ||
- [ ] [#expensify-bugs](https://expensify.enterprise.slack.com/archives/C049HHMV9SM) | ||
- [ ] [#expensify-open-source](https://expensify.enterprise.slack.com/archives/C01GTK53T8Q) | ||
- [ ] [#expert-contributors](https://expensify.enterprise.slack.com/archives/C08CZDJFJ77) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
73 changes: 0 additions & 73 deletions
73
.github/actions/composite/setupGitForOSBotifyApp/action.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Validate actor | ||
description: Validate the the current actor has the permissions they need. By default, it validates that the user has write permissions. | ||
|
||
inputs: | ||
# If `REQUIRE_APP_DEPLOYER` is true, we check that they're an app deployer. If not, we just check that they have write access. | ||
REQUIRE_APP_DEPLOYER: | ||
description: Should this action require the actor to be an app deployer? | ||
required: false | ||
default: 'true' | ||
OS_BOTIFY_TOKEN: | ||
description: OSBotify token. Needed to access certain API endpoints the regular github.token can't | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Get user permissions | ||
if: ${{ !fromJSON(inputs.REQUIRE_APP_DEPLOYER) }} | ||
id: getUserPermissions | ||
shell: bash | ||
run: | | ||
PERMISSION=$(gh api /repos/${{ github.repository }}/collaborators/${{ github.actor }}/permission | jq -r '.permission') | ||
if [[ "$PERMISSION" == 'write' || "$PERMISSION" == 'admin' ]]; then | ||
echo "::notice::✅ Actor ${{ github.actor }} has write permission" | ||
else | ||
echo "::error::❌ Actor ${{ github.actor }} does not have write permission" | ||
exit 1 | ||
fi | ||
env: | ||
GITHUB_TOKEN: ${{ inputs.OS_BOTIFY_TOKEN }} | ||
|
||
- name: Check if user is deployer | ||
id: isUserDeployer | ||
if: fromJSON(inputs.REQUIRE_APP_DEPLOYER) | ||
shell: bash | ||
run: | | ||
if [[ "${{ github.actor }}" == "OSBotify" || "${{ github.actor }}" == "os-botify[bot]" ]] || \ | ||
gh api /orgs/Expensify/teams/mobile-deployers/memberships/${{ github.actor }} --silent; then | ||
echo "::notice::✅ Actor ${{ github.actor }} is an app deployer" | ||
else | ||
echo "::error::❌ Actor ${{ github.actor }} is not an app deployer" | ||
exit 1 | ||
fi | ||
env: | ||
GITHUB_TOKEN: ${{ inputs.OS_BOTIFY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.