Skip to content

Commit

Permalink
Merge pull request #364 from camptocamp/pr-checks-8.0
Browse files Browse the repository at this point in the history
Add or update pull request check on stabilization branch
  • Loading branch information
sbrunner authored Nov 10, 2022
2 parents aa5738c + 6d49b40 commit 77abffc
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Pull request check

on:
pull_request:
types:
- opened
- reopened
- labeled
- unlabeled
- edit
- synchronize

env:
POETRY_DYNAMIC_VERSIONING_BYPASS: 0.0.0

jobs:
build:
name: Pull request check
runs-on: ubuntu-20.04
timeout-minutes: 5

steps:
- uses: actions/checkout@v3

- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
- run: python3 -m pip install --user --pre c2cciutils[pr_checks]

- name: Check pull request
run: c2cciutils-pull-request-checks
env:
GITHUB_EVENT: ${{ toJson(github) }}

0 comments on commit 77abffc

Please sign in to comment.