diff --git a/.github/workflows/pr-update.yml b/.github/workflows/pr-update.yml index 1332a33f..3b4b569c 100644 --- a/.github/workflows/pr-update.yml +++ b/.github/workflows/pr-update.yml @@ -24,18 +24,19 @@ jobs: shell: bash run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" - name: "Info" - shell: bash - run: | - echo "Branch: ${{env.HEAD_REF}}" - echo "Base Branch: ${{env.BASE_REF}}" - echo "Repo: ${{github.repository}}" - echo "Owner: ${{github.repository_owner}}" - echo "Assigned: ${{github.event.pull_request.assignee.login}}" - echo "Assigned: ${{github.event.pull_request.assignees[0].login}}" - echo "Last Modified By: ${{github.event.pull_request.head.user.login}}" - echo "PR Creator: ${{github.event.pull_request.creator.login}}" - echo "PR Owner: ${{github.event.pull_request.owner}}" - echo "Actor: ${{github.actor}}" + uses: actions/github-script@v6.4.1 + with: + script: | + core.info('Branch: ${{env.HEAD_REF}}'); + core.info('Base Branch: ${{env.BASE_REF}}'); + core.info('Repo: ${{github.repository}}'); + core.info('Owner: ${{github.repository_owner}}'); + core.info('Assigned: ${{github.event.pull_request.assignee.login}}'); + core.info('Assigned: ${{github.event.pull_request.assignees[0].login}}'); + core.info('Last Modified By: ${{github.event.pull_request.head.user.login}}'); + core.info('PR Creator: ${{github.event.pull_request.creator.login}}'); + core.info('PR Owner: ${{github.event.pull_request.owner}}'); + core.info('Actor: ${{github.actor}}'); add-pr-label: if: ${{github.actor != 'dependabot[bot]'}}