When I use the subrouter() method, Methods() only works on the last endpoint, and other than the last endpoint, the rest of the endpoints give a 404 instead of a 405 with the unrelated http method. #34
This file contains 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
# Add all the issues created to the project. | |
name: Add issue or pull request to Project | |
on: | |
issues: | |
types: | |
- opened | |
pull_request_target: | |
types: | |
- opened | |
- reopened | |
jobs: | |
add-to-project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add issue to project | |
uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/gorilla/projects/4 | |
github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }} |