Skip to content

Definitions Update responder #211

Definitions Update responder

Definitions Update responder #211

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Create automatic release
on:
push:
branches:
- master
jobs:
github_release:
if: contains(github.event.head_commit.message, 'Definitions Update')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -U packaging requests
- name: Create a release
env:
GITHUB_TOKEN: ${{ secrets.GH_SECRET_TOKEN }}
run: |
scripts/create_release.py --repo $GITHUB_REPOSITORY -re "^Definitions Update.*" --create_release