add non-community PRs directly to project column
@@ -4,6 +4,8 @@ on:
types: [opened]
pull_request_target:
types: [opened]
+env:
+ MY_GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}
jobs:
triage:
@@ -26,3 +28,10 @@ jobs:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/community-label.yml
enable-versioned-regex: 0
+ - name: Assign new internal pull requests to project
+ uses: elastic/assign-one-project-github-action@1.2.2
+ if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }} && github.event.action == 'opened' && github.event.pull_request
+ with:
+ project: 'https://github.com/orgs/elastic/projects/454'
+ project_id: '5882982'
+ column_name: 'In Progress'
