Skip to content

Anpassungen für pymodbus 3.3.x #3

Anpassungen für pymodbus 3.3.x

Anpassungen für pymodbus 3.3.x #3

name: "Comment if PR goes to wrong branch"
on:
pull_request:
types: [opened]
branches:
- '*'
- '!develop'
jobs:
comment_pr:
runs-on: ubuntu-latest
name: Comment on wrong branch
steps:
- name: Comment PR
uses: thollander/actions-comment-pull-request@v1
with:
message: 'Pull requests should only be placed against the develop branch. This pull request cannot be accepted!'
reactions: '-1'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set exitcode to signal error
run: exit 1