Anpassungen für pymodbus 3.3.x #3
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
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 | |