From a2a25e71acab85e5e4af2392d4a0710459abfc4e Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 2 Feb 2024 15:44:43 +0000 Subject: [PATCH] Revert "Use ELEMENT_BOT_TOKEN for release-drafter-workflow.yml" This reverts commit 1e7bc2f31c8a217c83fb8fa47d8332c243e815a4. --- .github/workflows/release-drafter-workflow.yml | 5 +---- .github/workflows/release-drafter.yml | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/release-drafter-workflow.yml b/.github/workflows/release-drafter-workflow.yml index 0d784ee6e..56cd0fbe3 100644 --- a/.github/workflows/release-drafter-workflow.yml +++ b/.github/workflows/release-drafter-workflow.yml @@ -1,9 +1,6 @@ name: Release Drafter on: workflow_call: - secrets: - ELEMENT_BOT_TOKEN: - required: true inputs: include-changes: description: Project to include changelog entries from in this release. @@ -49,11 +46,11 @@ jobs: if: inputs.include-changes uses: actions/github-script@v7 env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} RELEASE_ID: ${{ steps.release.outputs.id }} DEPENDENCY: ${{ inputs.include-changes }} VERSION: ${{ steps.draft-release.outputs.tag_name }} with: - github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} retries: 3 script: | const { RELEASE_ID: releaseId, DEPENDENCY, VERSION } = process.env; diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index da08f8ecf..d8afa80a9 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -7,5 +7,3 @@ concurrency: ${{ github.workflow }} jobs: draft: uses: matrix-org/matrix-js-sdk/.github/workflows/release-drafter-workflow.yml@develop - secrets: - ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}