Fix workflow

This commit is contained in:
Gabriel Augendre 2023-03-14 10:15:21 +01:00
parent 78efe472a3
commit 93405b9b70

View file

@ -10,14 +10,6 @@ permissions:
contents: read
jobs:
context:
name: Display context
runs-on: ubuntu-latest
if: >-
github.event.pull_request
&& github.event.pull_request.merged == false
steps:
- run: echo "${{github.event.pull_request.user.login}}"
tests:
name: Python tests
runs-on: ubuntu-latest
@ -48,8 +40,8 @@ jobs:
github.event.pull_request
&& github.event.pull_request.merged == false
&& (
github.event.pull_request.user.login == "crocmagnon-pr[bot]"
|| github.event.pull_request.user.login == "pre-commit-ci[bot]"
github.event.pull_request.user.login == 'crocmagnon-pr[bot]'
|| github.event.pull_request.user.login == 'pre-commit-ci[bot]'
)
steps:
- name: Auto merge