Can't use create_merge_query endpoint, I get the following error "Object of type MergeQuerySourceQuery is not JSON serializable" #60
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Label all new/reopened issues with P3 | |
| on: | |
| issues: | |
| types: | |
| - reopened | |
| - opened | |
| jobs: | |
| label_issues_p3: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - uses: actions/github-script@v6 | |
| with: | |
| script: | | |
| github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ["p3"] | |
| }) |