Skip to content

[bot][terraclassic] chore: upsert asset and entity #17941

[bot][terraclassic] chore: upsert asset and entity

[bot][terraclassic] chore: upsert asset and entity #17941

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: CI
on:
pull_request:
push:
branches: ["main"]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and branch
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Validate data and format JSON
id: validate
run: |
ROOT_DIR=${{ github.workspace }} ./format.sh
echo "status=$?" >> $GITHUB_OUTPUT
- name: Commit changes
if: steps.validate.outputs.status == '0'
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: "chore: run format.sh"
automerge:
runs-on: ubuntu-latest
needs: [validate]
if: |
github.event_name == 'pull_request' &&
github.repository == 'coinhall/yacar'
steps:
- name: auto-merge
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_FILTER_AUTHOR: "yacarbot[bot]"
MERGE_LABELS: "status: done"
MERGE_METHOD: "squash"