-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into feat-29271-remove-p…
…arseISO
- Loading branch information
Showing
616 changed files
with
24,004 additions
and
11,625 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
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
Oops, something went wrong.