Skip to content
Draft
Changes from all 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
18 changes: 6 additions & 12 deletions .github/workflows/addToProject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,14 @@ jobs:
"pull_requests": "read"
}
- name: Assign issues with milestones to project
uses: elastic/assign-one-project[email protected].2
uses: actions/add-to-project@v1.0.2
if: github.event.issue && github.event.issue.milestone
with:
project: 'https://github.com/orgs/elastic/projects/454'
project_id: '5882982'
column_name: 'Planned'
env:
MY_GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}
project-url: https://github.com/orgs/elastic/projects/454
github-token: ${{ steps.get_token.outputs.token }}
- name: Assign new pull requests to project
uses: elastic/assign-one-project[email protected].2
uses: actions/add-to-project@v1.0.2
if: github.event.action == 'opened' && github.event.pull_request
with:
project: 'https://github.com/orgs/elastic/projects/454'
project_id: '5882982'
column_name: 'In Progress'
env:
MY_GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}
project-url: https://github.com/orgs/elastic/projects/454
github-token: ${{ steps.get_token.outputs.token }}