mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-12-22 13:51:49 +01:00
Fix workflow
This commit is contained in:
parent
78efe472a3
commit
93405b9b70
1 changed files with 2 additions and 10 deletions
12
.github/workflows/test.yaml
vendored
12
.github/workflows/test.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue