From 5733ec4d521965d8215d59330a7b28c941433d9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ljubo=20Nikoli=C4=87?= Date: Wed, 3 Apr 2024 10:49:10 +0200 Subject: [PATCH 1/3] remove dependabot.yaml as it's wrong extension --- .github/dependabot.yaml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .github/dependabot.yaml diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml deleted file mode 100644 index 6dbd4dc88..000000000 --- a/.github/dependabot.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -version: 2 - -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" From 2e7383543de71b48ab9c9060ad9a8e04641ffd3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ljubo=20Nikoli=C4=87?= Date: Wed, 3 Apr 2024 10:49:20 +0200 Subject: [PATCH 2/3] test update-consul-versions --- .github/workflows/nudge.yml | 3 +-- .github/workflows/update-consul-versions.yml | 9 +++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nudge.yml b/.github/workflows/nudge.yml index 9d0244362..586975e76 100644 --- a/.github/workflows/nudge.yml +++ b/.github/workflows/nudge.yml @@ -6,13 +6,12 @@ on: types: [completed] branches: [master] - jobs: nudge: runs-on: ubuntu-latest environment: nudge steps: - name: Send notification - uses: pavlovic-ivan/octo-nudge@v1 + uses: pavlovic-ivan/octo-nudge@v2 with: webhooks: ${{ secrets.NUDGE_WEBHOOKS }} \ No newline at end of file diff --git a/.github/workflows/update-consul-versions.yml b/.github/workflows/update-consul-versions.yml index bf6bd69af..fed880e4f 100644 --- a/.github/workflows/update-consul-versions.yml +++ b/.github/workflows/update-consul-versions.yml @@ -1,14 +1,15 @@ name: "Update Consul versions" on: - schedule: - - cron: '22 2 * * *' # Run once per day, at a randomly chosen time. + pull_request: + # schedule: + # - cron: '22 2 * * *' # Run once per day, at a randomly chosen time. jobs: update-consul-versions: # Only run on main repository # Scheduled workflows do not have information about fork status, hence the hardcoded check - if: github.repository == 'G-Research/consuldotnet' + # if: github.repository == 'G-Research/consuldotnet' environment: update-consul-versions runs-on: ubuntu-latest steps: @@ -30,7 +31,7 @@ jobs: installation_id=$(curl -s -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer $jwt" https://api.github.com/app/installations | jq '.[] | select(.account.login == "${{ github.repository_owner }}") | .id') token=$(curl -s -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer $jwt" https://api.github.com/app/installations/$installation_id/access_tokens | jq -r '.token') echo "::add-mask::$token" - echo "::set-output name=token::$token" + echo "token=$token" >> $GITHUB_OUTPUT - name: Install PowerShellForGitHub shell: pwsh From dd80bf8e109e63a0f45335b69bd4e667f4467299 Mon Sep 17 00:00:00 2001 From: "Consul.NET CI" Date: Wed, 8 May 2024 10:58:24 +0000 Subject: [PATCH 3/3] Update Consul agent versions used for testing --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 536a3c65c..e5feed4db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: if: github.event_name == 'push' || github.event.pull_request.head.repo.id != github.event.pull_request.base.repo.id strategy: matrix: - consul: [1.6.10, 1.7.14, 1.8.19, 1.9.17, 1.10.12, 1.11.11, 1.12.9, 1.13.9, 1.14.11, 1.15.10, 1.16.6, 1.17.3, 1.18.0] + consul: [1.6.10, 1.7.14, 1.8.19, 1.9.17, 1.10.12, 1.11.11, 1.12.9, 1.13.9, 1.14.11, 1.15.11, 1.16.7, 1.17.3, 1.18.1] framework: [net461, net6.0, net7.0, net8.0] os: [ubuntu-latest, windows-latest, macos-latest, macos-13] # macos-13 for x86_x64 arch fail-fast: false