Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Create workflows to run when PRs are opened #86

Draft
wants to merge 6 commits into
base: saga
Choose a base branch
from
Draft
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/move-to-in-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: move-card-to-in-review

on:
pull_request:
types: [opened, reopened, ready_for_review, synchronize, edited]

jobs:
extract-issue-numbers:
runs-on: ubuntu-latest
outputs:
issues: ${{ steps.extract.outputs.issues }}
steps:
- id: extract
uses: MatrixFrog/pr-extract-issues@2684b0f1d7b1671b7fb9ab8bfbb9b2b88983e6c5
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is https://github.com/marketplace/actions/pr-extract-issues except I forked it to fix a few small issues. My fork is here: https://github.com/MatrixFrog/pr-extract-issues

with:
way: 'body'

move-issues:
needs: extract-issue-numbers
runs-on: ubuntu-latest
steps:
- env:
ISSUES: ${{ needs.extract-issue-numbers.outputs.issues }}
run: "echo $ISSUES"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here, we want to invoke the github API (or use another marketplace Action that invokes the github API) to grab the relevant issues and move them to the In Review column on the Project



Loading