[bot][osmosis] add 1 assets #15457
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@v3 | |
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: Check for changes | |
if: steps.validate.outputs.status == '0' | |
id: diff | |
run: | | |
cd ${{ github.workspace }} | |
git diff --quiet . || (echo "Did you forget to run the latest 'format.sh' script?" && exit 1) | |
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" |