Skip to content

Build

Build #6

Workflow file for this run

name: Build
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '15 3 1 * *' # <https://crontab.guru/#15_3_1_*_*>
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: build and test
run: ./run_tests.sh
auto-merge:
needs: build
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: auto-merge
if: |
github.actor == 'dependabot[bot]' &&
github.event_name == 'pull_request'
run: |
./merge_dependabot.sh
env:
PR_URL: ${{github.event.pull_request.html_url}}
# this secret needs to be in the settings.secrets.dependabot
GITHUB_TOKEN: ${{secrets.GH_ACTION_TOKEN}}