Skip to content

Commit

Permalink
feat: fix workflow error for dependabot secrets issue (#206)
Browse files Browse the repository at this point in the history
* feat: fix workflow error for dependabot secrets issue

* fix: update them so they run on peotry.lock and pyproject.toml

* fix: adjust so human changes can work

* test: secret issues

* Update conftest.py

* fix: remove bad chaining

* Update pyproject.toml

* fix: indent error

* Update pyproject.toml

* Update env_test.yml

* Update pyproject.toml

* fix: cleanup
  • Loading branch information
Sean1572 authored May 30, 2024
1 parent dea0c07 commit c727366
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/env_test.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: Environment Test
name: pytest

on:
push:
paths:
- poetry.lock
- pyproject.toml
workflow_dispatch:
on:
workflow_run:
workflows: ["Dependabot PR Check"]
types:
- completed
push:
paths:
- poetry.lock
- pyproject.toml

jobs:
build:
# continue-on-error: true
if: ${{ github.event.workflow_run.conclusion == 'success' || github.actor != 'dependabot[bot]' }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/env_test_bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Dependabot PR Check

on: pull_request_target

jobs:
check-dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- run: echo "PR created by Dependabot"

0 comments on commit c727366

Please sign in to comment.