Skip to content

Merge branch 'ccxt:master' into master #1

Merge branch 'ccxt:master' into master

Merge branch 'ccxt:master' into master #1

Workflow file for this run

name: Java
on:
workflow_dispatch:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.event.head_commit.message, '[Automated changes]') && !contains(github.event.head_commit.message, 'Merge branch ''master'' of https://github.com/ccxt/ccxt') }}
steps:
- name: Print vars
run: |
echo "GitHub Actor: $GITHUB_ACTOR"
echo "Repository: $GITHUB_REPOSITORY"
echo "Event Name: $GITHUB_EVENT_NAME"
echo "Workflow Name: $GITHUB_WORKFLOW"
echo "Run ID: $GITHUB_RUN_ID"
echo "Run Number: $GITHUB_RUN_NUMBER"
echo "Job Name: $GITHUB_JOB"
echo "Ref: $GITHUB_REF"
echo "SHA: $GITHUB_SHA"
echo "Head Commit: ${{ github.event.head_commit.message }}"
echo "Branch Name: ${GITHUB_REF##*/}" # Extract the branch name from GITHUB_REF
- uses: actions/checkout@v4
if: github.ref == 'refs/heads/master'
with:
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 2
- uses: actions/checkout@v4
if: github.ref != 'refs/heads/master'
with:
fetch-depth: 2
- name: Skip Automated Push Commits
id: check_commit
run: |
if [[ "${{ github.event.head_commit.message }}" == *"[Automated changes]"* ]]; then
echo "This commit was made by the action. Skipping."
exit 0
fi