From b1b6d36bb693c8f8ac5c01b71fade07cd888e328 Mon Sep 17 00:00:00 2001 From: Justin Persaud Date: Wed, 11 Oct 2023 14:27:01 -0400 Subject: [PATCH] revert old setupGitForOsBotify back to original --- .../composite/setupGitForOSBotify/action.yml | 24 +++---------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/actions/composite/setupGitForOSBotify/action.yml b/.github/actions/composite/setupGitForOSBotify/action.yml index bacf45cf1ed1..00d4fc80849c 100644 --- a/.github/actions/composite/setupGitForOSBotify/action.yml +++ b/.github/actions/composite/setupGitForOSBotify/action.yml @@ -1,22 +1,10 @@ -name: "Setup Git for OSBotify" -description: "Setup Git for OSBotify" +name: 'Setup Git for OSBotify' +description: 'Setup Git for OSBotify' inputs: GPG_PASSPHRASE: - description: "Passphrase used to decrypt GPG key" + 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 @@ -42,9 +30,3 @@ runs: 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 }}