Skip to content

Commit

Permalink
fix: adjust so human changes can work
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean1572 committed May 30, 2024
1 parent 0a4899b commit a2e847b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/check_bot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### .github/workflows/dependabot_pr.yml
### This workflow doesn't have access to secrets and has a read-only token
name: Dependabot PR Check
name: Dependabot PR Check (check if human made this)
on:
push:
paths:
Expand All @@ -9,10 +9,6 @@ on:
workflow_dispatch:

jobs:
manual-run:
if: ${{ github.actor != 'dependabot[bot]' }}
uses: ./.github/workflows/env_test.yml

check-dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/check_human.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### .github/workflows/dependabot_pr.yml
### This workflow doesn't have access to secrets and has a read-only token
name: Dependabot PR Check
on:
push:
paths:
- poetry.lock
- pyproject.toml
workflow_dispatch:

jobs:
manual-run:
if: ${{ github.actor != 'dependabot[bot]' }}
uses: ./.github/workflows/env_test.yml


2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "PyHa"
version = "0.0.0"
description = "PyHa"
description = "PyHa test"
authors = [
"UCSD Engineers for Exploration <[email protected]>",
"Jacob Ayers <[email protected]>",
Expand Down

0 comments on commit a2e847b

Please sign in to comment.