Skip to content

Commit

Permalink
Merge branch 'main' into feat/verifier-setup-file-io
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin-Ray authored Oct 22, 2024
2 parents 80c576d + d66c3f9 commit e4aa81b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/bountyissuestojira.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Origin Repository Workflow

on:
issues:
types: [opened, labeled]

jobs:
cross-repo-pipeline:
if: contains(github.event.issue.labels.*.name, 'bug')
runs-on: ubuntu-latest
steps:
- name: Trigger Target Repository
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.PAT_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
https://api.github.com/repos/spaceandtimelabs/jira-github-integration/dispatches \
-d '{
"event_type": "repository_dispatch",
"client_payload": {
"issue_title": "${{ github.event.issue.title }}",
"issue_body": "${{ github.event.issue.body }}",
"issue_url": "${{ github.event.issue.html_url }}",
"issue_number": "${{ github.event.issue.number }}",
"issue_labels": ${{ toJson(github.event.issue.labels.*.name) }}
}
}'

0 comments on commit e4aa81b

Please sign in to comment.