From ec9361980771121172479779b8f8421247a935cb Mon Sep 17 00:00:00 2001 From: Mirco Bianchini <57708659+sonomirco@users.noreply.github.com> Date: Mon, 11 Dec 2023 20:24:46 +1100 Subject: [PATCH 1/2] Update context.yml --- .github/workflows/context.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/context.yml b/.github/workflows/context.yml index 2d11ab5..db1014f 100644 --- a/.github/workflows/context.yml +++ b/.github/workflows/context.yml @@ -2,7 +2,7 @@ name: Check context on: issue_comment: pull_request: -# comment + jobs: one: runs-on: ubuntu-latest @@ -13,4 +13,4 @@ jobs: run: | echo "$GITHUB_CONTEXT" echo ${{ github.event_name }} - echo ${{ github.event.user.login }} + echo ${{ github.event.user }} From ca4a077d4bfab4c8105ecb2f8aeeb5ab01954702 Mon Sep 17 00:00:00 2001 From: Mirco Bianchini <57708659+sonomirco@users.noreply.github.com> Date: Mon, 11 Dec 2023 20:33:50 +1100 Subject: [PATCH 2/2] Update check-for-changes.yml --- .github/workflows/check-for-changes.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-for-changes.yml b/.github/workflows/check-for-changes.yml index 86d8f79..68b760a 100644 --- a/.github/workflows/check-for-changes.yml +++ b/.github/workflows/check-for-changes.yml @@ -16,9 +16,9 @@ jobs: id: ref run: | PR=$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" ${{ github.event.issue.pull_request.url }}) - echo "sha=$(PR | jq -r '.head.sha')" >> $GITHUB_OUTPUT - echo $(PR | jq -r '.head.sha') - echo $(PR | jq -r '.head.ref') + echo "sha=$(echo $PR | jq -r '.head.sha')" >> $GITHUB_OUTPUT + echo $PR | jq -r '.head.sha' + echo $PR | jq -r '.head.ref' - name: 🛎 Checkout repo uses: actions/checkout@v4