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" 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 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