-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Expensify:main' into unlimited-requested-api
- Loading branch information
Showing
350 changed files
with
10,281 additions
and
3,036 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
.github/actions/composite/setupGitForOSBotifyApp/action.yml
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,53 @@ | ||
# This is a duplicate for setupGitForOSBotify except we are using a Github App now for Github Authentication. | ||
# GitHub Apps have higher rate limits. The reason this is being duplicated is because the existing action is still in use | ||
# in open PRs/branches that aren't up to date with main and it ends up breaking action workflows as a result. | ||
name: "Setup Git for OSBotify" | ||
description: "Setup Git for OSBotify" | ||
|
||
inputs: | ||
GPG_PASSPHRASE: | ||
description: "Passphrase used to decrypt GPG key" | ||
required: true | ||
OS_BOTIFY_APP_ID: | ||
description: "Application ID for OS Botify" | ||
required: true | ||
OS_BOTIFY_PRIVATE_KEY: | ||
description: "OS Botify's private key" | ||
required: true | ||
|
||
outputs: | ||
# Do not try to use this for committing code. Use `secrets.OS_BOTIFY_COMMIT_TOKEN` instead | ||
OS_BOTIFY_API_TOKEN: | ||
description: Token to use for GitHub API interactions. | ||
value: ${{ steps.generateToken.outputs.token }} | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Decrypt OSBotify GPG key | ||
run: cd .github/workflows && gpg --quiet --batch --yes --decrypt --passphrase=${{ inputs.GPG_PASSPHRASE }} --output OSBotify-private-key.asc OSBotify-private-key.asc.gpg | ||
shell: bash | ||
|
||
- name: Import OSBotify GPG Key | ||
shell: bash | ||
run: cd .github/workflows && gpg --import OSBotify-private-key.asc | ||
|
||
- name: Set up git for OSBotify | ||
shell: bash | ||
run: | | ||
git config user.signingkey 367811D53E34168C | ||
git config commit.gpgsign true | ||
git config user.name OSBotify | ||
git config user.email [email protected] | ||
- name: Enable debug logs for git | ||
shell: bash | ||
if: runner.debug == '1' | ||
run: echo "GIT_TRACE=true" >> "$GITHUB_ENV" | ||
|
||
- name: Generate a token | ||
id: generateToken | ||
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a | ||
with: | ||
app_id: ${{ inputs.OS_BOTIFY_APP_ID }} | ||
private_key: ${{ inputs.OS_BOTIFY_PRIVATE_KEY }} |
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.