Skip to content

Commit

Permalink
Changing the token used by project-assigner workflows (#57127)
Browse files Browse the repository at this point in the history
* Use diagnostics-enable action in the workflow. Issue: #56526

* Update workflow to use v1.0.2 of the action

* Adding a new test workflow that uses a personal access token

* Remove an extra coma

* Updated project-assigner action version and access key

* Deleted the test workflow

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
Alex Holmansky and elasticmachine authored Feb 26, 2020
1 parent e31f8a3 commit a25ba4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-project-assigner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Assign a PR to project based on label
steps:
- name: Assign to project
uses: elastic/github-actions/[email protected].2
uses: elastic/github-actions/[email protected].3
id: project_assigner
with:
issue-mappings: |
Expand All @@ -17,4 +17,4 @@ jobs:
{ "label": "Feature:Lens", "projectName": "Lens", "columnId": 6219362 },
{ "label": "Team:Canvas", "projectName": "canvas", "columnId": 6187580 }
]
ghToken: ${{ secrets.GITHUB_TOKEN }}
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/project-assigner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
name: Assign issue or PR to project based on label
steps:
- name: Assign to project
uses: elastic/github-actions/[email protected].2
uses: elastic/github-actions/[email protected].3
id: project_assigner
with:
issue-mappings: '[{"label": "Team:AppArch", "projectName": "kibana-app-arch", "columnId": 6173895}, {"label": "Feature:Lens", "projectName": "Lens", "columnId": 6219363}, {"label": "Team:Canvas", "projectName": "canvas", "columnId": 6187593}]'
ghToken: ${{ secrets.GITHUB_TOKEN }}
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}


0 comments on commit a25ba4e

Please sign in to comment.