Skip to content

Commit

Permalink
Merge branch 'revise-workflows' into test-pr-drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
bskinn authored Jan 4, 2025
2 parents 07326d8 + 2c1ae58 commit c3ecdaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/all_core_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
current_python_tests:
name: Run on ${{ matrix.os }}
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/opened_pr_draft_notif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ name: 'NEW: Post Draft PR Notice'

on:
pull_request:
types: [opened, ready_for_review, converted_to_draft]
types: [opened]

jobs:
post-draft-notice:
name: Post Draft Notice
name: 'post on new non-draft PR'
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Print PR data payload
run: jq -n '${{ toJson(github.event.pull_request) }}'
- name: Post notification to non-draft PR
- name: Post notification to new non-draft PR
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
Expand Down

0 comments on commit c3ecdaf

Please sign in to comment.