Skip to content
Merged
Show file tree
Hide file tree
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
19 changes: 19 additions & 0 deletions .github/workflows/add_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name : add_to_project

on :
pull_request:
types:
- opened
issues:
types:
- opened
Comment thread
ahms5 marked this conversation as resolved.

jobs:
add-to-project:
name: Add issue or pull request to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v1
with:
project-url: https://github.com/orgs/pyfar/projects/3
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
19 changes: 19 additions & 0 deletions template/.github/workflows/add_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name : add_to_project

on :
pull_request:
types:
- opened
issues:
types:
- opened
Comment thread
ahms5 marked this conversation as resolved.

jobs:
add-to-project:
name: Add issue to project
Comment thread
ahms5 marked this conversation as resolved.
Outdated
runs-on: ubuntu-latest
Comment thread
ahms5 marked this conversation as resolved.
steps:
- uses: actions/add-to-project@v1
with:
project-url: https://github.com/orgs/pyfar/projects/3
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
1 change: 1 addition & 0 deletions tests/test_copier.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def test_project_folder(default_project):
".github/workflows/has_version_milestone.yml",
".gitignore",
".circleci/config.yml",
".github/workflows/add_to_project.yml",
])
def test_generated_file_exists(default_project, file_name):
assert default_project.project_dir.joinpath(file_name).exists()
Expand Down
Loading