diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 434db078aa3c..a0b0492151ef 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -36,11 +36,6 @@ jobs: PATH: /bin:/usr/bin:/usr/local/bin:/home/runner/.local/bin steps: - - name: GitHub event - run: echo ${GITHUB_EVENT} | python3 -m json.tool - env: - GITHUB_EVENT: ${{ toJson(github) }} - - run: '! ls BACKPORT_TODO' - run: /opt/google/chrome/chrome --version - name: Get sha @@ -58,6 +53,8 @@ jobs: ref: ${{ steps.sha.outputs.sha }} if: github.event_name == 'pull_request_target' + - run: '! ls BACKPORT_TODO' + - uses: actions/setup-node@v4 with: node-version: 18.x @@ -92,6 +89,8 @@ jobs: if: failure() - name: Print environment information run: c2cciutils-env + env: + GITHUB_EVENT: ${{ toJson(github) }} - run: | sudo rm /etc/apt/sources.list.d/*.list