Skip to content

chore: 🐝 Update SDK - Generate SDK 2.16.53 #636

chore: 🐝 Update SDK - Generate SDK 2.16.53

chore: 🐝 Update SDK - Generate SDK 2.16.53 #636

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: {}
schedule:
# “At 08:30 on every day-of-week from Monday through Friday.”
- cron: 30 8 * * 1-5
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 3
strategy:
matrix:
java:
- 21
permissions:
contents: write
pull-requests: write
steps:
- name: Check out the repo
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- name: Use Java ${{ matrix.java }}
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
with:
distribution: 'corretto'
java-version: ${{ matrix.java }}
- name: Run tests
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
E2E: true
run: |
./gradlew test
- uses: hmarr/auto-approve-action@8f929096a962e83ccdfa8afcf855f39f12d4dac7 # v4
if: "github.event.pull_request.user.login == 'github-actions[bot]'"
with:
github-token: ${{ secrets.DISPATCH_ACCESS_TOKEN }}
merge:
needs: test
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- id: automerge
name: automerge
if: "github.event.pull_request.user.login == 'github-actions[bot]'"
uses: "pascalgn/automerge-action@7961b8b5eec56cc088c140b56d864285eabd3f67" # v0.16.4
env:
GITHUB_TOKEN: ${{ secrets.DISPATCH_ACCESS_TOKEN }}
MERGE_LABELS: ''
MERGE_REQUIRED_APPROVALS: 0
MERGE_METHOD: squash
MERGE_COMMIT_MESSAGE: "pull-request-title"
MERGE_ERROR_FAIL: true
MERGE_DELETE_BRANCH: true
MERGE_FORKS: false
UPDATE_METHOD: rebase
notify:
needs: test
runs-on: ubuntu-latest
if: ${{ contains(needs.*.result, 'failure') }}
steps:
- name: Slack Notification
uses: rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2
if: github.ref == 'refs/heads/main' || (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'github-actions[bot]')
env:
SLACK_USERNAME: Java SDK
SLACK_TITLE: Java SDK
SLACK_WEBHOOK: ${{ secrets.SLACK_SDK_WEBHOOK_URL }}
SLACK_CHANNEL: sdk-updates
SLACK_MSG_AUTHOR: gr4vy-code
SLACK_ICON_EMOJI: ":gr4vy:"
SLACK_COLOR: "failure"
SLACK_MESSAGE_ON_FAILURE: "CI failed"
SLACK_FOOTER: ""