From 87b5c43a474ef6a732e5ce64a417e8697c465f45 Mon Sep 17 00:00:00 2001 From: Stamatis Katsaounis Date: Mon, 21 Oct 2024 11:37:52 +0300 Subject: [PATCH] ci: fix update-libs CI --- .github/workflows/update-libs.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-libs.yaml b/.github/workflows/update-libs.yaml index 7dd76bb..04bc0c7 100644 --- a/.github/workflows/update-libs.yaml +++ b/.github/workflows/update-libs.yaml @@ -19,15 +19,22 @@ jobs: detect-open-prs: name: Check open library updates PRs needs: update-lib-region - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 outputs: open_prs: ${{ steps.open-prs.outputs.open_prs }} steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Check for any pre-existing PR and save it in the output id: open-prs run: | OPEN_PRS="$(gh pr list --head chore/auto-libs --state open --json id --jq 'length')" echo "open_prs=$OPEN_PRS" >> "$GITHUB_OUTPUT" + env: + GH_TOKEN: ${{ secrets.OBSERVABILITY_NOCTUA_TOKEN }} update-lib-agent: name: Check libraries